Android O MR1 SDK.
[android_tools.git] / sdk / platforms / android-27 / data / res / layout / shutdown_dialog.xml
blob398bfb1824c7784dd4a2ef228dc8800f295ca9d2
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3      Copyright (C) 2014 The Android Open Source Project
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
9           http://www.apache.org/licenses/LICENSE-2.0
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 <LinearLayout
18     xmlns:android="http://schemas.android.com/apk/res/android"
19     android:layout_width="match_parent"
20     android:layout_height="match_parent"
21     android:orientation="vertical"
22     android:gravity="center_horizontal" >
24     <Space
25         android:layout_width="match_parent"
26         android:layout_height="0dp"
27         android:layout_weight="6" />
29     <TextView
30         android:id="@id/text1"
31         android:layout_width="wrap_content"
32         android:layout_height="32dp"
33         android:text="@string/shutdown_progress"
34         android:textDirection="locale"
35         android:textSize="24sp"
36         android:textAppearance="?attr/textAppearanceLarge"
37         android:gravity="center"
38         android:layout_marginBottom="24dp"
39         android:fontFamily="@string/config_headlineFontFamily"/>
41     <ProgressBar
42         android:id="@id/progress"
43         android:layout_width="30dp"
44         android:layout_height="30dp"
45         style="?attr/progressBarStyleLarge" />
47     <Space
48         android:layout_width="match_parent"
49         android:layout_height="0dp"
50         android:layout_weight="10" />
52 </LinearLayout>