| Dianne Hackborn | d4c4b76 | 2011-10-27 12:58:16 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2009 The Android Open Source Project |
| 3 | |
| 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | you may not use this file except in compliance with the License. |
| 6 | You may obtain a copy of the License at |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | android:layout_width="match_parent" |
| 19 | android:layout_height="match_parent" |
| 20 | android:orientation="vertical" |
| 21 | > |
| 22 | |
| Dianne Hackborn | 2c84cfc | 2011-10-31 15:39:59 -0700 | [diff] [blame] | 23 | <LinearLayout android:layout_width="match_parent" |
| Dianne Hackborn | d4c4b76 | 2011-10-27 12:58:16 -0700 | [diff] [blame] | 24 | android:layout_height="wrap_content" |
| 25 | android:orientation="horizontal" |
| 26 | > |
| Dianne Hackborn | 2c84cfc | 2011-10-31 15:39:59 -0700 | [diff] [blame] | 27 | <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 28 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 29 | android:text="Foreground: " |
| 30 | /> |
| 31 | <Spinner android:id="@+id/fgspinner" |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="wrap_content" |
| 34 | android:drawSelectorOnTop="true" |
| 35 | /> |
| 36 | </LinearLayout> |
| 37 | <TextView android:id="@+id/fgtext" |
| 38 | android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 39 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 40 | /> |
| 41 | |
| 42 | <LinearLayout android:layout_width="match_parent" |
| 43 | android:layout_height="wrap_content" |
| 44 | android:orientation="horizontal" |
| 45 | android:layout_marginTop="10dp" |
| 46 | > |
| 47 | <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 48 | android:textAppearance="?android:attr/textAppearanceMedium" |
| 49 | android:text="Background: " |
| 50 | /> |
| 51 | <Spinner android:id="@+id/bgspinner" |
| 52 | android:layout_width="match_parent" |
| 53 | android:layout_height="wrap_content" |
| 54 | android:drawSelectorOnTop="true" |
| 55 | /> |
| 56 | </LinearLayout> |
| 57 | <TextView android:id="@+id/bgtext" |
| 58 | android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 59 | android:textAppearance="?android:attr/textAppearanceSmall" |
| 60 | /> |
| 61 | |
| 62 | <LinearLayout android:layout_width="match_parent" |
| 63 | android:layout_height="wrap_content" |
| 64 | android:orientation="horizontal" |
| 65 | android:layout_marginTop="10dp" |
| 66 | > |
| Dianne Hackborn | 0500b3c | 2011-11-01 15:28:43 -0700 | [diff] [blame] | 67 | <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 68 | android:textAppearance="?android:attr/textAppearanceMedium" |
| Christopher Tate | 80a682b | 2011-11-18 17:14:14 -0800 | [diff] [blame] | 69 | android:text="Limit by: " |
| 70 | /> |
| 71 | <Spinner android:id="@+id/limitspinner" |
| 72 | android:layout_width="match_parent" |
| 73 | android:layout_height="wrap_content" |
| 74 | android:drawSelectorOnTop="true" |
| 75 | /> |
| 76 | </LinearLayout> |
| 77 | |
| 78 | <LinearLayout android:layout_width="match_parent" |
| 79 | android:layout_height="wrap_content" |
| 80 | android:orientation="horizontal" |
| 81 | android:layout_marginTop="10dp" |
| 82 | > |
| 83 | <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" |
| 84 | android:textAppearance="?android:attr/textAppearanceMedium" |
| Dianne Hackborn | 0500b3c | 2011-11-01 15:28:43 -0700 | [diff] [blame] | 85 | android:text="Test time (ms): " |
| Christopher Tate | 80a682b | 2011-11-18 17:14:14 -0800 | [diff] [blame] | 86 | android:id="@+id/limitlabel" |
| Dianne Hackborn | 0500b3c | 2011-11-01 15:28:43 -0700 | [diff] [blame] | 87 | /> |
| 88 | <EditText android:id="@+id/testtime" |
| 89 | android:layout_width="match_parent" |
| 90 | android:layout_height="wrap_content" |
| 91 | android:inputType="number" |
| 92 | android:text="5000" |
| 93 | /> |
| 94 | </LinearLayout> |
| 95 | |
| 96 | <LinearLayout android:layout_width="match_parent" |
| 97 | android:layout_height="wrap_content" |
| 98 | android:orientation="horizontal" |
| 99 | android:layout_marginTop="10dp" |
| 100 | > |
| Dianne Hackborn | d4c4b76 | 2011-10-27 12:58:16 -0700 | [diff] [blame] | 101 | <Button android:id="@+id/start" |
| 102 | android:layout_width="wrap_content" |
| 103 | android:layout_height="wrap_content" |
| 104 | android:text="@string/start" |
| 105 | /> |
| 106 | <Button android:id="@+id/stop" |
| 107 | android:layout_width="wrap_content" |
| 108 | android:layout_height="wrap_content" |
| 109 | android:text="@string/stop" |
| 110 | /> |
| Dianne Hackborn | 6b57b7e4 | 2011-11-07 14:45:49 -0800 | [diff] [blame] | 111 | <CheckBox android:id="@+id/local" |
| 112 | android:layout_width="wrap_content" |
| 113 | android:layout_height="wrap_content" |
| 114 | android:text="Local" |
| 115 | /> |
| Dianne Hackborn | d4c4b76 | 2011-10-27 12:58:16 -0700 | [diff] [blame] | 116 | </LinearLayout> |
| 117 | |
| Dianne Hackborn | 2c84cfc | 2011-10-31 15:39:59 -0700 | [diff] [blame] | 118 | <TextView android:id="@+id/log" |
| Dianne Hackborn | d4c4b76 | 2011-10-27 12:58:16 -0700 | [diff] [blame] | 119 | android:layout_width="match_parent" |
| 120 | android:layout_height="0px" |
| 121 | android:layout_weight="1" |
| Dianne Hackborn | 2c84cfc | 2011-10-31 15:39:59 -0700 | [diff] [blame] | 122 | android:layout_marginTop="10dp" |
| 123 | android:textSize="12sp" |
| 124 | android:textColor="#ffffffff" |
| 125 | /> |
| Dianne Hackborn | d4c4b76 | 2011-10-27 12:58:16 -0700 | [diff] [blame] | 126 | |
| 127 | </LinearLayout> |