UI changes for smaller devices and GTV. Fix for defect 4616102.

Change-Id: I2fc37199eedfd779494cf9e5c87f53fb1081c1eb
This commit is contained in:
Yohann Connell
2011-07-15 16:39:52 -07:00
parent ba2fd8b297
commit b87bd55555
7 changed files with 48 additions and 41 deletions

View File

@@ -3,5 +3,5 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView android:id="@+id/textView1" android:text="@string/no_content" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="40pt" android:background="@drawable/background3" android:gravity="center"></TextView>
<TextView android:id="@+id/textView1" android:text="@string/no_content" android:layout_width="wrap_content" android:layout_height="wrap_content" android:textSize="24pt" android:background="@drawable/background3" android:gravity="center"></TextView>
</LinearLayout>

View File

@@ -1,21 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<TabHost xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:padding="5dp">
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TabWidget
android:id="@android:id/tabs"
android:layout_width="fill_parent"
android:layout_height="wrap_content" />
<FrameLayout
android:id="@android:id/tabcontent"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
/>
</LinearLayout>
</TabHost>
</TabHost>

View File

@@ -1,38 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:stretchColumns="1"
android:background="@drawable/background3">
<TableRow android:paddingTop="50dip" >
<TableRow >
<TextView
android:layout_width="200dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_column="1"
android:typeface="serif"
android:textSize="30sp"
android:paddingLeft="100dip"
android:text="@string/drm_server"/>
<EditText
android:layout_width="600dip"
android:layout_width="300sp"
android:layout_height="wrap_content"
android:textSize="12sp"
android:id="@+id/drm_server"
/>
</TableRow>
<TableRow>
<TextView
android:layout_width="200dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_column="1"
android:typeface="serif"
android:textSize="30sp"
android:paddingLeft="100dip"
android:text="@string/device_id"/>
<EditText
android:layout_width="600dip"
android:layout_width="300sp"
android:layout_height="wrap_content"
android:textSize="12sp"
android:id="@+id/device_id"
/>
</TableRow>
@@ -42,42 +38,38 @@
android:layout_height="fill_parent"
>
<TextView
android:layout_width="200dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_column="1"
android:typeface="serif"
android:textSize="30sp"
android:paddingLeft="100dip"
android:text="@string/portal_id"/>
<EditText
android:layout_width="600dip"
android:layout_width="300sp"
android:layout_height="wrap_content"
android:textSize="12sp"
android:id="@+id/portal_id"
/>
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:layout_width="200dip"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_column="1"
android:typeface="serif"
android:textSize="30sp"
android:paddingLeft="100dip"
android:text="@string/content_page"/>
<EditText
android:layout_width="600dip"
android:layout_width="300sp"
android:layout_height="wrap_content"
android:textSize="12sp"
android:id="@+id/content_page"
/>
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
>
<Button