Phil Burk | 7386a83 | 2019-03-21 16:07:27 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | xmlns:tools="http://schemas.android.com/tools" |
| 4 | android:layout_width="match_parent" |
| 5 | android:layout_height="match_parent" |
| 6 | android:orientation="vertical" |
| 7 | android:paddingBottom="@dimen/activity_vertical_margin" |
| 8 | android:paddingLeft="@dimen/activity_horizontal_margin" |
| 9 | android:paddingRight="@dimen/activity_horizontal_margin" |
| 10 | android:paddingTop="@dimen/activity_vertical_margin" |
Phil Burk | aad3876 | 2019-04-09 12:51:51 -0700 | [diff] [blame] | 11 | tools:context="com.google.sample.oboe.manualtest.AutoGlitchActivity"> |
Phil Burk | 550b3a5 | 2019-04-02 17:10:30 -0700 | [diff] [blame] | 12 | |
Phil Burk | 7386a83 | 2019-03-21 16:07:27 -0700 | [diff] [blame] | 13 | <LinearLayout |
| 14 | android:layout_width="match_parent" |
| 15 | android:layout_height="wrap_content" |
| 16 | android:orientation="horizontal"> |
Phil Burk | 168b550 | 2019-04-11 08:43:49 -0700 | [diff] [blame] | 17 | <TextView |
| 18 | android:layout_width="wrap_content" |
| 19 | android:layout_height="wrap_content" |
| 20 | android:text="@string/duration" |
| 21 | /> |
| 22 | <Spinner |
| 23 | android:id="@+id/spinner_glitch_duration" |
| 24 | android:layout_width="wrap_content" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:entries="@array/glitch_times" |
| 27 | /> |
| 28 | <TextView |
| 29 | android:id="@+id/actualNativeApi" |
| 30 | android:layout_width="wrap_content" |
| 31 | android:layout_height="wrap_content" |
| 32 | android:text="@string/seconds_per_test" |
| 33 | /> |
| 34 | </LinearLayout> |
| 35 | |
| 36 | <LinearLayout |
| 37 | android:layout_width="match_parent" |
| 38 | android:layout_height="wrap_content" |
| 39 | android:orientation="horizontal"> |
Phil Burk | 7386a83 | 2019-03-21 16:07:27 -0700 | [diff] [blame] | 40 | |
| 41 | <Button |
| 42 | android:id="@+id/button_start" |
| 43 | android:layout_width="0dp" |
| 44 | android:layout_weight="1" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:onClick="onStartAudioTest" |
| 47 | android:text="@string/startAudio" /> |
| 48 | |
| 49 | <Button |
| 50 | android:id="@+id/button_stop" |
| 51 | android:layout_width="0dp" |
| 52 | android:layout_weight="1" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:onClick="onStopAudioTest" |
| 55 | android:text="@string/stopAudio" /> |
Phil Burk | 6e827c8 | 2019-04-10 20:20:51 -0700 | [diff] [blame] | 56 | |
| 57 | <Button |
| 58 | android:id="@+id/button_share" |
| 59 | android:layout_width="0dp" |
| 60 | android:layout_weight="1" |
| 61 | android:layout_height="wrap_content" |
| 62 | android:onClick="onShareResult" |
| 63 | android:text="@string/share" /> |
Phil Burk | 7386a83 | 2019-03-21 16:07:27 -0700 | [diff] [blame] | 64 | </LinearLayout> |
| 65 | |
Phil Burk | 168b550 | 2019-04-11 08:43:49 -0700 | [diff] [blame] | 66 | |
Phil Burk | 7386a83 | 2019-03-21 16:07:27 -0700 | [diff] [blame] | 67 | <TextView |
| 68 | android:id="@+id/text_analyzer_result" |
| 69 | android:layout_width="match_parent" |
| 70 | android:layout_height="wrap_content" |
Phil Burk | 2beb2c7 | 2019-09-05 18:51:14 -0700 | [diff] [blame^] | 71 | android:lines="12" |
Phil Burk | 168b550 | 2019-04-11 08:43:49 -0700 | [diff] [blame] | 72 | android:text="@string/auto_glitch_instructions" |
Phil Burk | 7386a83 | 2019-03-21 16:07:27 -0700 | [diff] [blame] | 73 | android:textSize="18sp" |
Phil Burk | aad3876 | 2019-04-09 12:51:51 -0700 | [diff] [blame] | 74 | android:textStyle="bold" |
| 75 | /> |
| 76 | |
| 77 | <TextView |
| 78 | android:id="@+id/text_auto_result" |
| 79 | android:layout_width="match_parent" |
| 80 | android:layout_height="match_parent" |
| 81 | android:scrollbars = "vertical" |
| 82 | android:gravity="bottom" |
Phil Burk | 168b550 | 2019-04-11 08:43:49 -0700 | [diff] [blame] | 83 | android:text="@string/log_of_glitch_tests" |
Phil Burk | aad3876 | 2019-04-09 12:51:51 -0700 | [diff] [blame] | 84 | /> |
Phil Burk | 7386a83 | 2019-03-21 16:07:27 -0700 | [diff] [blame] | 85 | |
| 86 | </LinearLayout> |