Я пытаюсь расширить базовое приложение для приветствия для Google TV. Я создал LinearLayout с EditText и Button внутри него и поместил его под очень большой «Hello world» TextView (78sp). Когда я запускаю приложение в окне google tv (adb), я получаю свой «Hello World», но только самую верхнюю часть EditText и Button.Google tv не отображает полную схему моего приложения для Android.
Глядя на приложение в менеджере планировщика Android Eclipse, все его прекрасно и видно.
Любые идеи о том, как исправить это?
Я считаю, что мне не хватает элемента конфигурации во всем этом.
Любая помощь приветствуется. Благодаря
код, мой main.xml:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<TextView
android:layout_width="fill_parent"
android:layout_height="475dp"
android:gravity="center"
android:text="@string/hello"
android:textSize="78sp" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<EditText
android:id="@+id/edit_message"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:ems="10"
android:hint="@string/edit_message" >
<requestFocus />
</EditText>
<Button
android:id="@+id/button_send"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/button_send" />
</LinearLayout>
</LinearLayout>