Files
espeak-ng/android/res/layout/voice_variant_preference.xml
Reece H. Dunn c7a1556101 Rework the Voice variant preference to show a dialog with Category and Variant lists.
The original variant list UI resulted in a long, complex list that
was difficult to navigate. This change splits up that list into
more manageable groups.
2013-09-06 13:10:35 +01:00

52 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_gravity="center">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/category"
android:layout_weight="0.5"
android:gravity="center_vertical"
android:layout_gravity="center_vertical" />
<Spinner
android:layout_width="0dp"
android:layout_height="wrap_content"
android:id="@+id/category"
android:layout_weight="0.5"
android:gravity="bottom"
android:layout_gravity="center_vertical" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp">
<TextView
android:layout_width="0dp"
android:layout_height="wrap_content"
android:textAppearance="?android:attr/textAppearanceMedium"
android:text="@string/variant"
android:layout_weight="0.5"
android:gravity="center_vertical"
android:layout_gravity="center_vertical" />
<Spinner
android:layout_width="0dp"
android:layout_height="wrap_content"
android:id="@+id/variant"
android:layout_weight="0.5"
android:gravity="bottom"
android:layout_gravity="center_vertical" />
</LinearLayout>
</LinearLayout>