Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / dialog_title_icons_material.xml
blob3866ca767a16856ed9847273fc76a8ae430dd9fe
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2014 The Android Open Source Project
4      Licensed under the Apache License, Version 2.0 (the "License");
5      you may not use this file except in compliance with the License.
6      You may obtain a copy of the License at
8           http://www.apache.org/licenses/LICENSE-2.0
10      Unless required by applicable law or agreed to in writing, software
11      distributed under the License is distributed on an "AS IS" BASIS,
12      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13      See the License for the specific language governing permissions and
14      limitations under the License.
15 -->
17 <!--
18 This is an optimized layout for a screen, with the minimum set of features
19 enabled.
20 -->
22 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
23     android:orientation="vertical"
24     android:fitsSystemWindows="true">
26     <LinearLayout android:id="@+id/title_container"
27         android:layout_width="match_parent"
28         android:layout_height="wrap_content"
29         android:orientation="horizontal"
30         android:gravity="center_vertical"
31         android:paddingStart="?attr/dialogPreferredPadding"
32         android:paddingEnd="?attr/dialogPreferredPadding"
33         android:paddingTop="?attr/dialogPreferredPadding">
34         <ImageView android:id="@+id/left_icon"
35             android:layout_width="32dip"
36             android:layout_height="32dip"
37             android:scaleType="fitCenter"
38             android:layout_marginEnd="8dip" />
39         <TextView android:id="@id/title"
40             style="?attr/windowTitleStyle"
41             android:layout_width="wrap_content"
42             android:layout_height="wrap_content"
43             android:layout_weight="0" />
44         <ImageView android:id="@+id/right_icon"
45             android:layout_width="32dip"
46             android:layout_height="32dip"
47             android:scaleType="fitCenter"
48             android:layout_marginStart="8dip" />
49     </LinearLayout>
51     <View android:layout_width="match_parent"
52         android:layout_height="0dp" />
54     <FrameLayout
55         android:layout_width="match_parent" android:layout_height="wrap_content"
56         android:layout_weight="1"
57         android:orientation="vertical"
58         android:foreground="?attr/windowContentOverlay">
59         <FrameLayout android:id="@id/content"
60             android:layout_width="match_parent"
61             android:layout_height="match_parent" />
62     </FrameLayout>
63 </LinearLayout>