| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2022 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:orientation="vertical"> |
| <TextView |
| android:id="@+id/clipboard_preview_test_instructions" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:padding="20dp" |
| android:text="@string/clipboard_preview_test_instructions" /> |
| <Button |
| android:id="@+id/clipboard_preview_test_copy" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:layout_marginBottom="100dp" |
| android:layout_marginTop="30dp" |
| android:text="@string/clipboard_preview_test_copy_button"/> |
| |
| <TableLayout |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content"> |
| <TableRow |
| android:layout_width="match_parent" |
| android:layout_height="50dp"> |
| <View android:layout_weight="3" |
| android:layout_height="50dp"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b1" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:text="1"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b2" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:text="2"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b3" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:text="3"/> |
| <View android:layout_weight="3" |
| android:layout_height="50dp"/> |
| </TableRow> |
| <TableRow |
| android:layout_width="match_parent" |
| android:layout_height="50dp"> |
| <View android:layout_weight="3" |
| android:layout_height="50dp"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b4" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:text="4"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b5" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:text="5"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b6" |
| android:layout_width="50dp" |
| android:layout_height="50dp" |
| android:text="6"/> |
| <View android:layout_weight="3" |
| android:layout_height="50dp"/> |
| </TableRow> |
| <TableRow |
| android:layout_width="match_parent" |
| android:layout_height="50dp"> |
| <View android:layout_weight="3" |
| android:layout_height="match_parent"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b7" |
| android:layout_width="50dp" |
| android:layout_height="match_parent" |
| android:text="7"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b8" |
| android:layout_width="50dp" |
| android:layout_height="match_parent" |
| android:text="8"/> |
| <Button android:layout_weight="1" |
| android:id="@+id/clipboard_preview_test_b9" |
| android:layout_width="50dp" |
| android:layout_height="match_parent" |
| android:text="9"/> |
| <View android:layout_weight="3" |
| android:layout_height="50dp"/> |
| </TableRow> |
| </TableLayout> |
| <Button |
| android:id="@+id/clipboard_preview_test_b0" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:layout_gravity="center" |
| android:text="0"/> |
| <include |
| android:id="@+id/clipboard_preview_test_pass_fail" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:visibility="invisible" |
| layout="@layout/pass_fail_buttons"/> |
| </LinearLayout> |