| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | android:layout_width="match_parent" |
| 4 | android:layout_height="match_parent" |
| 5 | android:orientation="vertical" |
| 6 | android:padding="8dp" > |
| 7 | |
| 8 | <LinearLayout |
| 9 | android:id="@+id/loading" |
| 10 | android:layout_width="match_parent" |
| 11 | android:layout_height="wrap_content" |
| 12 | android:gravity="center" |
| 13 | android:orientation="vertical" |
| 14 | android:visibility="gone" > |
| 15 | |
| 16 | <ProgressBar |
| 17 | style="?android:attr/progressBarStyleLarge" |
| 18 | android:layout_width="wrap_content" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:layout_marginBottom="16dp" /> |
| 21 | |
| 22 | <TextView |
| 23 | android:layout_width="wrap_content" |
| 24 | android:layout_height="wrap_content" |
| 25 | android:text="@string/loading" /> |
| 26 | </LinearLayout> |
| 27 | |
| 28 | <LinearLayout |
| 29 | android:id="@+id/success" |
| 30 | android:layout_width="match_parent" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:orientation="vertical" |
| 33 | android:visibility="visible" > |
| 34 | |
| 35 | <ListView |
| 36 | android:id="@+id/properties" |
| 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="0dp" |
| 39 | android:layout_weight="1" > |
| 40 | |
| 41 | </ListView> |
| 42 | |
| 43 | <TextView |
| 44 | android:id="@+id/textView1" |
| 45 | android:layout_width="wrap_content" |
| 46 | android:layout_height="wrap_content" |
| 47 | android:text="@string/synthesis_demo" |
| 48 | android:textAppearance="?android:attr/textAppearanceLarge" /> |
| 49 | |
| 50 | <EditText |
| 51 | android:id="@+id/editText1" |
| 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="match_parent" |
| 54 | android:layout_weight="1" |
| 55 | android:ems="10" |
| 56 | android:inputType="textMultiLine" > |
| 57 | |
| 58 | </EditText> |
| 59 | |
| 60 | <LinearLayout |
| 61 | android:layout_width="match_parent" |
| 62 | android:layout_height="wrap_content" > |
| 63 | |
| 64 | <Button |
| 65 | android:id="@+id/speak" |
| 66 | android:layout_width="wrap_content" |
| 67 | android:layout_height="wrap_content" |
| 68 | android:text="@string/speak" /> |
| 69 | |
| 70 | <Button |
| 71 | android:id="@+id/ssml" |
| 72 | android:layout_width="wrap_content" |
| 73 | android:layout_height="wrap_content" |
| 74 | android:text="@string/ssml" /> |
| 75 | |
| 76 | </LinearLayout> |
| 77 | |
| 78 | </LinearLayout> |
| 79 | |
| 80 | </LinearLayout> |