Files
android/proprietary/samplePlayer/res/layout/settings.xml
Jeff Tinker 9f735d298a Rework WidevineSamplePlayer to use fragments
Previously it used TabActivity which has been deprecated
and no longer works.

bug: 29045104

Change-Id: I207f0208b6dba47adfa0ffe7485800d1561af617
2016-06-13 11:27:03 -07:00

81 lines
2.4 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:stretchColumns="1"
android:background="@drawable/background3">
<TableRow >
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:typeface="serif"
android:text="@string/drm_server"/>
<EditText
android:layout_width="300sp"
android:layout_height="wrap_content"
android:textSize="12sp"
android:id="@+id/drm_server"
/>
</TableRow>
<TableRow>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:typeface="serif"
android:text="@string/device_id"/>
<EditText
android:layout_width="300sp"
android:layout_height="wrap_content"
android:textSize="12sp"
android:id="@+id/device_id"
/>
</TableRow>
<TableRow
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:typeface="serif"
android:text="@string/portal_id"/>
<EditText
android:layout_width="300sp"
android:layout_height="wrap_content"
android:textSize="12sp"
android:id="@+id/portal_id"
/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:typeface="serif"
android:text="@string/content_page"/>
<EditText
android:layout_width="300sp"
android:layout_height="wrap_content"
android:textSize="12sp"
android:id="@+id/content_page"
/>
</TableRow>
<TableRow
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
>
<Button
android:text="@string/save_settings"
android:id="@+id/save_settings"
/>
</TableRow>
</TableLayout>