Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / sms_short_code_confirmation_dialog.xml
blobd82f560fc3d084976f542285af34b06721c8287e
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 ** Copyright 2012 The Android Open Source Project
5 **
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
9 **
10 **     http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
18 -->
20 <LinearLayout
21     xmlns:android="http://schemas.android.com/apk/res/android"
22     android:id="@+id/parentPanel"
23     android:layout_width="match_parent"
24     android:layout_height="wrap_content"
25     android:layout_marginLeft="8dip"
26     android:layout_marginRight="8dip"
27     android:orientation="vertical">
29     <TextView android:id="@+id/sms_short_code_confirm_message"
30         style="?android:attr/textAppearanceMedium"
31         android:layout_width="match_parent"
32         android:layout_height="wrap_content"
33         android:paddingLeft="20dip"
34         android:paddingRight="20dip"
35         android:paddingTop="16dip"
36         android:paddingBottom="16dip" />
38     <TableLayout android:id="@+id/sms_short_code_detail_layout"
39         android:shrinkColumns="1"
40         android:layout_width="wrap_content"
41         android:layout_height="wrap_content"
42         android:paddingLeft="16dip"
43         android:paddingRight="16dip">
45         <TableRow
46             android:layout_width="wrap_content"
47             android:layout_height="wrap_content" >
49             <ImageView android:id="@+id/sms_short_code_coins_icon"
50                 android:layout_width="wrap_content"
51                 android:layout_height="wrap_content"
52                 android:paddingLeft="8dip"
53                 android:paddingRight="8dip"
54                 android:src="@drawable/ic_coins_l" />
55             <TextView android:id="@+id/sms_short_code_detail_message"
56                 android:layout_width="match_parent"
57                 android:layout_height="wrap_content" />
58         </TableRow>
60         <TableRow
61             android:layout_width="wrap_content"
62             android:layout_height="wrap_content" >
63             <RelativeLayout android:layout_width="wrap_content"
64                 android:layout_height="wrap_content"
65                 android:paddingTop="12dip"
66                 android:paddingLeft="8dip" >
67             <CheckBox android:id="@+id/sms_short_code_remember_choice_checkbox"
68                 android:paddingTop="11dip"
69                 android:layout_width="wrap_content"
70                 android:layout_height="wrap_content" />
71             </RelativeLayout>
72             <TextView android:id="@+id/sms_short_code_remember_choice_text"
73                 android:layout_width="wrap_content"
74                 android:layout_height="wrap_content"
75                 android:paddingTop="18dip"
76                 android:text="@string/sms_short_code_remember_choice" />
77         </TableRow>
79         <TableRow
80             android:layout_width="wrap_content"
81             android:layout_height="wrap_content" >
83             <Space android:layout_gravity="fill" />
84             <TextView android:id="@+id/sms_short_code_remember_undo_instruction"
85                 android:paddingTop="10dip"
86                 android:layout_width="wrap_content"
87                 android:layout_height="wrap_content" />
88         </TableRow>
90     </TableLayout>
92 </LinearLayout>