Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / progress_dialog.xml
blob0d3cd4a9b43c55e1e91b45cbaab1959fcceb37e3
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 /* //device/apps/common/res/layout/alert_dialog.xml
4 **
5 ** Copyright 2006, 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 -->
21 <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
22     android:layout_width="match_parent"
23     android:layout_height="wrap_content">
25     <LinearLayout android:id="@+id/body"
26         android:orientation="horizontal"
27         android:layout_width="match_parent"
28         android:layout_height="match_parent"
29         android:baselineAligned="false"
30         android:paddingStart="8dip"
31         android:paddingTop="10dip"
32         android:paddingEnd="8dip"
33         android:paddingBottom="10dip">
35         <ProgressBar android:id="@android:id/progress"
36             style="?android:attr/progressBarStyle"
37             android:layout_width="wrap_content"
38             android:layout_height="wrap_content"
39             android:max="10000"
40             android:layout_marginEnd="12dip" />
42         <TextView android:id="@+id/message"
43             android:layout_width="match_parent"
44             android:layout_height="wrap_content"
45             android:layout_gravity="center_vertical" />
46     </LinearLayout>
47 </FrameLayout>