• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2016 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="horizontal">
21
22    <LinearLayout
23            android:layout_width="match_parent"
24            android:layout_height="match_parent"
25            android:layout_weight="0.5"
26            android:gravity="center_horizontal"
27            android:orientation="vertical"
28            android:tooltipText="@string/tooltips_container_tooltip">
29
30        <TextView
31                android:layout_width="wrap_content"
32                android:layout_height="wrap_content"
33                android:layout_margin="8dp"
34                android:textSize="20sp"
35                android:text="@string/tooltips_description" />
36
37        <TextView
38                android:id="@+id/tooltips_code"
39                android:background="#ccc"
40                android:layout_width="wrap_content"
41                android:layout_height="wrap_content"
42                android:layout_margin="4dp"
43                android:padding="10dp"
44                android:textSize="16sp"
45                android:text="@string/tooltips_code_label" />
46
47        <TextView
48                android:background="#ccc"
49                android:layout_width="wrap_content"
50                android:layout_height="wrap_content"
51                android:layout_margin="4dp"
52                android:padding="10dp"
53                android:textSize="16sp"
54                android:text="@string/tooltips_resource_label"
55                android:tooltipText="@string/tooltips_resource_tooltip" />
56
57        <TextView
58                android:background="#ccc"
59                android:layout_width="wrap_content"
60                android:layout_height="wrap_content"
61                android:layout_margin="4dp"
62                android:padding="10dp"
63                android:textSize="16sp"
64                android:text="@string/tooltips_long_label"
65                android:tooltipText="@string/tooltips_long_tooltip" />
66
67        <TextView
68                android:background="#ccc"
69                android:layout_width="wrap_content"
70                android:layout_height="wrap_content"
71                android:layout_margin="4dp"
72                android:layout_gravity="start|center_vertical"
73                android:padding="10dp"
74                android:textSize="16sp"
75                android:text="@string/tooltips_edge_label"
76                android:tooltipText="@string/tooltips_edge_tooltip" />
77
78        <View
79                android:layout_width="1dp"
80                android:layout_height="match_parent"
81                android:layout_weight="1"/>
82
83        <TextView
84                android:background="#ccc"
85                android:layout_width="wrap_content"
86                android:layout_height="wrap_content"
87                android:layout_margin="4dp"
88                android:padding="10dp"
89                android:textSize="16sp"
90                android:text="@string/tooltips_above_label"
91                android:tooltipText="@string/tooltips_above_tooltip" />
92    </LinearLayout>
93
94    <LinearLayout
95            android:layout_width="match_parent"
96            android:layout_height="match_parent"
97            android:layout_weight="0.5"
98            android:orientation="vertical">
99
100        <TextView
101                android:background="#ccc"
102                android:layout_width="match_parent"
103                android:layout_height="wrap_content"
104                android:layout_margin="4dp"
105                android:padding="10dp"
106                android:gravity="center"
107                android:textSize="16sp"
108                android:text="@string/tooltips_wide_label"
109                android:tooltipText="@string/tooltips_wide_tooltip" />
110
111        <LinearLayout
112                android:layout_width="match_parent"
113                android:layout_height="match_parent"
114                android:layout_weight="1"
115                android:orientation="horizontal">
116
117            <TextView
118                    android:background="#ccc"
119                    android:layout_width="wrap_content"
120                    android:layout_height="match_parent"
121                    android:layout_margin="4dp"
122                    android:padding="10dp"
123                    android:gravity="center"
124                    android:textSize="16sp"
125                    android:text="@string/tooltips_tall_label"
126                    android:tooltipText="@string/tooltips_tall_tooltip" />
127
128            <TextView
129                    android:background="#ccc"
130                    android:layout_width="match_parent"
131                    android:layout_height="match_parent"
132                    android:layout_weight="1"
133                    android:layout_margin="4dp"
134                    android:padding="10dp"
135                    android:gravity="center"
136                    android:textSize="16sp"
137                    android:text="@string/tooltips_large_label"
138                    android:tooltipText="@string/tooltips_large_tooltip" />
139        </LinearLayout>
140    </LinearLayout>
141</LinearLayout>
142