Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / app_not_authorized.xml
blob339b24e86ae562c2c83d3b1014e844c9bd0caf73
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /*
4 **
5 ** Copyright 2013, The Android Open Source Project
6 **
7 ** Licensed under the Apache License, Version 2.0 (the "License");
8 ** you may not use this file except in compliance with the License.
9 ** You may obtain a copy of the License at
11 **     http://www.apache.org/licenses/LICENSE-2.0
13 ** Unless required by applicable law or agreed to in writing, software
14 ** distributed under the License is distributed on an "AS IS" BASIS,
15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 ** See the License for the specific language governing permissions and
17 ** limitations under the License.
19 -->
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21     android:layout_width="match_parent"
22     android:layout_height="match_parent"
23     android:orientation="vertical">
25     <!-- Customizable description text -->
26     <TextView android:id="@+id/description"
27         android:layout_width="wrap_content"
28         android:layout_height="wrap_content"
29         android:layout_gravity="start|center_vertical"
30         android:paddingStart="?attr/dialogPreferredPadding"
31         android:paddingTop="@dimen/dialog_padding_top_material"
32         android:paddingEnd="?attr/dialogPreferredPadding"
33         android:text="@string/error_message_change_not_allowed"
34         style="@style/TextAppearance.Material.Subhead" />
36     <LinearLayout android:id="@+id/buttonPanel"
37         style="?attr/buttonBarStyle"
38         android:layout_width="match_parent"
39         android:layout_height="wrap_content"
40         android:layoutDirection="locale"
41         android:orientation="horizontal"
42         android:paddingStart="12dp"
43         android:paddingEnd="12dp"
44         android:paddingTop="8dp"
45         android:paddingBottom="8dp"
46         android:gravity="bottom">
47         <Space
48             android:layout_width="0dp"
49             android:layout_height="0dp"
50             android:layout_weight="1"
51             android:visibility="invisible" />
52         <Button android:id="@+id/button1"
53             style="?attr/buttonBarNegativeButtonStyle"
54             android:layout_width="wrap_content"
55             android:layout_height="wrap_content"
56             android:text="@android:string/yes"
57             android:onClick="onCancelButtonClicked" />
58     </LinearLayout>
59 </LinearLayout>