• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2018 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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18                android:id="@+id/test_activity_root"
19                android:orientation="vertical"
20                android:layout_width="match_parent"
21                android:layout_height="match_parent"
22                android:background="#ffe0b2">
23
24    <LinearLayout
25        android:layout_width="match_parent"
26        android:layout_height="wrap_content"
27        android:layout_centerInParent="true"
28        android:orientation="vertical"
29        android:background="#00000000" >
30        <TextView
31            android:id="@+id/test_activity_title"
32            android:layout_width="match_parent"
33            android:layout_height="wrap_content"
34            android:textColor="@android:color/black"
35            android:background="#00000000"
36            android:gravity="center" />
37        <TextView
38            android:id="@+id/test_activity_touch_state"
39            android:layout_width="match_parent"
40            android:layout_height="wrap_content"
41            android:textColor="@android:color/black"
42            android:background="#00000000"
43            android:gravity="center" />
44    </LinearLayout>
45
46    <TextView
47        android:id="@+id/test_activity_width_text"
48        android:layout_width="match_parent"
49        android:layout_height="wrap_content"
50        android:textColor="@android:color/black"
51        android:background="#00000000"
52        android:gravity="center" />
53
54    <TextView
55        android:id="@+id/test_activity_height_text"
56        android:layout_width="wrap_content"
57        android:layout_height="match_parent"
58        android:layout_alignParentRight="true"
59        android:layout_alignParentEnd="true"
60        android:textColor="@android:color/black"
61        android:background="#00000000"
62        android:gravity="center" />
63
64    <EditText
65        android:id="@+id/test_activity_edittext"
66        android:layout_width="match_parent"
67        android:layout_height="wrap_content"
68        android:layout_alignParentBottom="true"
69        android:layout_margin="16dp" />
70</RelativeLayout>