OSDN Git Service

Merge changes from topic "am-b95e3cad-9610-4d9b-96a8-a82f585400e6" into oc-dev am...
[android-x86/packages-apps-Settings.git] / res / layout / support_escalation_options.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright (C) 2016 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
18 <LinearLayout
19     xmlns:android="http://schemas.android.com/apk/res/android"
20     style="@style/SupportEscalationCard"
21     android:layout_width="match_parent"
22     android:layout_height="wrap_content"
23     android:orientation="vertical">
24     <TextView
25         android:id="@+id/tile_title"
26         android:layout_width="match_parent"
27         android:layout_height="wrap_content"
28         android:gravity="center_horizontal"
29         android:textAppearance="@style/TextAppearance.SupportTitle"/>
30     <TextView
31         android:id="@+id/tile_summary"
32         android:layout_width="match_parent"
33         android:layout_height="wrap_content"
34         android:gravity="center_horizontal"
35         android:paddingTop="8dp"
36         android:paddingBottom="30dp"
37         android:textAppearance="?android:attr/textAppearanceSmall"/>
38     <TextView
39         android:id="@+id/account_request_prefix"
40         android:layout_width="match_parent"
41         android:layout_height="wrap_content"
42         android:gravity="center_horizontal"
43         android:text="@string/support_account_request_prefix"
44         android:textAppearance="?android:attr/textAppearanceSmall"/>
45     <Spinner
46         android:id="@+id/account_spinner"
47         android:layout_width="wrap_content"
48         android:layout_height="wrap_content"
49         android:layout_marginTop="5dp"
50         android:layout_marginStart="16dp"
51         android:gravity="center_horizontal"/>
52     <LinearLayout
53         android:layout_width="match_parent"
54         android:layout_height="wrap_content"
55         android:layout_marginTop="30dp"
56         android:gravity="center_horizontal"
57         android:orientation="horizontal">
58         <LinearLayout
59             android:layout_width="0dp"
60             android:layout_weight="1"
61             android:layout_height="wrap_content"
62             android:layout_marginStart="8dp"
63             android:layout_marginEnd="8dp"
64             android:gravity="center_horizontal"
65             android:orientation="vertical">
66             <Button
67                 android:id="@android:id/text1"
68                 style="@style/SupportPrimaryButton"
69                 android:layout_width="wrap_content"
70                 android:layout_height="wrap_content"
71                 android:layout_margin="8dp"/>
72             <TextView
73                 android:id="@+id/summary1"
74                 android:layout_width="wrap_content"
75                 android:layout_height="wrap_content"
76                 android:layout_marginTop="14dp"
77                 android:textAppearance="?android:attr/textAppearanceSmall"/>
78         </LinearLayout>
79         <LinearLayout
80             android:layout_width="0dp"
81             android:layout_weight="1"
82             android:layout_height="wrap_content"
83             android:layout_marginStart="8dp"
84             android:layout_marginEnd="8dp"
85             android:gravity="center_horizontal"
86             android:orientation="vertical">
87             <Button
88                 android:id="@android:id/text2"
89                 style="@style/SupportPrimaryButton"
90                 android:layout_width="wrap_content"
91                 android:layout_height="wrap_content"
92                 android:layout_margin="8dp"/>
93             <TextView
94                 android:id="@+id/summary2"
95                 android:layout_width="wrap_content"
96                 android:layout_height="wrap_content"
97                 android:layout_marginTop="14dp"
98                 android:textAppearance="?android:attr/textAppearanceSmall"/>
99         </LinearLayout>
100     </LinearLayout>
101 </LinearLayout>