Я пытаюсь расширить базовое приложение Hello World для Google TV. Я создал LinearLayout с EditText и Button внутри него и поместил его в очень большой TextView «Hello world» (78sp). Когда я запускаю приложение в google tv box (adb), я получаю «Hello World», но только самую верхнюю часть EditText и Button.
Глядя на приложение в Eclipse Android Layout manager, все в порядке и видно.
Есть какие нибудь идеи как это починить?
Я считаю, что во всем этом мне не хватает какого-то элемента конфигурации.
Любая помощь приветствуется. Спасибо
код, мой 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>