Robin Lee | b4be0a9 | 2015-06-15 19:13:00 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Copyright (C) 2015 The Android Open Source Project |
| 4 | |
| 5 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | you may not use this file except in compliance with the License. |
| 7 | You may obtain a copy of the License at |
| 8 | |
| 9 | http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | |
| 11 | Unless required by applicable law or agreed to in writing, software |
| 12 | distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | See the License for the specific language governing permissions and |
| 15 | limitations under the License. |
| 16 | --> |
| 17 | <android.support.wearable.view.BoxInsetLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | xmlns:app="http://schemas.android.com/apk/res-auto" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="match_parent"> |
| 22 | |
| 23 | <LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto" |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="match_parent" |
| 26 | android:orientation="vertical" |
| 27 | android:padding="10dip" > |
| 28 | |
| 29 | <TextView |
| 30 | android:id="@+id/test_instruction" |
| 31 | style="@style/InstructionsFont" |
| 32 | android:layout_width="match_parent" |
| 33 | android:layout_height="wrap_content" |
| 34 | android:layout_weight="0" /> |
| 35 | |
| 36 | <TextView |
| 37 | android:id="@+id/test_log" |
| 38 | android:layout_width="match_parent" |
| 39 | android:layout_height="0dp" |
| 40 | android:layout_weight="1" |
| 41 | android:layout_gravity="bottom" |
| 42 | android:orientation="vertical" /> |
| 43 | |
| 44 | <LinearLayout |
| 45 | android:id="@+id/action_buttons" |
| 46 | android:layout_width="match_parent" |
| 47 | android:layout_height="wrap_content" |
| 48 | android:layout_weight="0" |
| 49 | android:orientation="horizontal"> |
| 50 | |
| 51 | <Button |
| 52 | android:id="@+id/action_reset" |
| 53 | android:text="@string/keychain_reset" |
| 54 | android:layout_weight="1" |
| 55 | android:layout_width="0dp" |
| 56 | android:layout_height="wrap_content" /> |
| 57 | |
| 58 | <Button |
| 59 | android:id="@+id/action_skip" |
| 60 | android:text="@string/keychain_skip" |
| 61 | android:layout_weight="1" |
| 62 | android:layout_width="0dp" |
| 63 | android:layout_height="wrap_content" /> |
| 64 | |
| 65 | <Button |
| 66 | android:id="@+id/action_next" |
| 67 | android:text="@string/next_button_text" |
| 68 | android:layout_weight="1" |
| 69 | android:layout_width="0dp" |
| 70 | android:layout_height="wrap_content" /> |
| 71 | |
| 72 | </LinearLayout> |
| 73 | |
| 74 | <include |
| 75 | android:layout_width="match_parent" |
| 76 | android:layout_height="wrap_content" |
| 77 | android:layout_weight="0" |
| 78 | layout="@layout/pass_fail_buttons" /> |
| 79 | |
| 80 | </LinearLayout> |
| 81 | </android.support.wearable.view.BoxInsetLayout> |