Evan Chen | 7b9f8a5 | 2021-03-30 22:18:35 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | ~ Copyright (C) 2021 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 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:layout_width="match_parent" |
| 20 | android:layout_height="wrap_content" |
| 21 | android:orientation="vertical"> |
| 22 | |
| 23 | <LinearLayout |
| 24 | android:layout_width="match_parent" |
| 25 | android:layout_height="wrap_content" |
| 26 | android:orientation="vertical"> |
| 27 | |
| 28 | <LinearLayout |
| 29 | android:layout_width="match_parent" |
| 30 | android:layout_height="wrap_content" |
| 31 | android:orientation="vertical"> |
| 32 | |
| 33 | <TextView |
| 34 | android:id="@+id/instructions" |
| 35 | style="@style/InstructionsSmallFont" |
| 36 | android:layout_width="match_parent" |
| 37 | android:layout_height="wrap_content" |
| 38 | android:layout_alignParentRight="true" |
| 39 | android:layout_alignParentTop="true" |
| 40 | android:layout_toRightOf="@id/status" |
| 41 | android:text="@string/companion_service_test_info" /> |
| 42 | |
| 43 | <LinearLayout |
| 44 | android:layout_width="match_parent" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:orientation="horizontal" |
| 47 | android:layout_marginLeft="10dp"> |
| 48 | <Button |
| 49 | android:id="@+id/go_button" |
| 50 | android:layout_width="match_parent" |
| 51 | android:layout_height="wrap_content" |
| 52 | android:layout_alignParentRight="true" |
| 53 | android:layout_marginLeft="20dip" |
| 54 | android:layout_marginRight="20dip" |
| 55 | android:layout_toRightOf="@id/status" |
| 56 | android:text="@string/go_button_text" /> |
| 57 | </LinearLayout> |
| 58 | </LinearLayout> |
| 59 | |
| 60 | <TextView |
| 61 | android:id="@+id/gone_info" |
| 62 | style="@style/InstructionsSmallFont" |
| 63 | android:layout_width="match_parent" |
| 64 | android:layout_height="wrap_content" |
| 65 | android:layout_alignParentRight="true" |
| 66 | android:layout_alignParentTop="true" |
| 67 | android:layout_toRightOf="@id/status" |
| 68 | android:layout_below="@id/go_button" |
| 69 | android:text="@string/companion_service_test_gone_text" /> |
| 70 | |
| 71 | <LinearLayout |
| 72 | android:layout_width="match_parent" |
| 73 | android:layout_height="wrap_content" |
| 74 | android:orientation="horizontal" |
| 75 | android:layout_marginLeft="10dp"> |
| 76 | <Button |
| 77 | android:id="@+id/gone_button" |
| 78 | android:layout_width="match_parent" |
| 79 | android:layout_height="wrap_content" |
| 80 | android:layout_alignParentRight="true" |
| 81 | android:layout_marginLeft="20dip" |
| 82 | android:layout_marginRight="20dip" |
| 83 | android:layout_toRightOf="@id/status" |
| 84 | android:text="@string/gone_button_text" /> |
| 85 | </LinearLayout> |
| 86 | |
| 87 | <TextView |
| 88 | android:id="@+id/present_info" |
| 89 | style="@style/InstructionsSmallFont" |
| 90 | android:layout_width="match_parent" |
| 91 | android:layout_height="wrap_content" |
| 92 | android:layout_alignParentRight="true" |
| 93 | android:layout_alignParentTop="true" |
| 94 | android:layout_toRightOf="@id/status" |
| 95 | android:layout_below="@id/gone_button" |
| 96 | android:text="@string/companion_service_test_present_text" /> |
| 97 | |
| 98 | <LinearLayout |
| 99 | android:layout_width="match_parent" |
| 100 | android:layout_height="wrap_content" |
| 101 | android:orientation="horizontal" |
| 102 | android:layout_marginLeft="10dp"> |
| 103 | <Button |
| 104 | android:id="@+id/present_button" |
| 105 | android:layout_width="match_parent" |
| 106 | android:layout_height="wrap_content" |
| 107 | android:layout_alignParentRight="true" |
| 108 | android:layout_marginLeft="20dip" |
| 109 | android:layout_marginRight="20dip" |
| 110 | android:layout_toRightOf="@id/status" |
| 111 | android:text="@string/present_button_text" /> |
| 112 | </LinearLayout> |
| 113 | |
| 114 | </LinearLayout> |
| 115 | <include layout="@layout/pass_fail_buttons" /> |
| 116 | </LinearLayout> |