Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / immersive_mode_cling.xml
blobb08b0f4d59c01f6c4f394eb943670d48967f158b
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2013 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 -->
16 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
17         android:layout_width="match_parent"
18         android:layout_height="wrap_content"
19         android:background="?android:attr/colorAccent"
20         android:gravity="center_vertical"
21         android:paddingBottom="24dp">
23     <FrameLayout
24             android:id="@+id/immersive_cling_chevron"
25             android:layout_width="76dp"
26             android:layout_height="76dp"
27             android:layout_marginTop="-24dp"
28             android:layout_centerHorizontal="true">
30         <ImageView
31                 android:id="@+id/immersive_cling_back_bg_light"
32                 android:layout_width="match_parent"
33                 android:layout_height="match_parent"
34                 android:scaleType="center"
35                 android:src="@drawable/immersive_cling_light_bg_circ" />
37         <ImageView
38                 android:id="@+id/immersive_cling_back_bg"
39                 android:layout_width="match_parent"
40                 android:layout_height="match_parent"
41                 android:scaleType="center"
42                 android:src="@drawable/immersive_cling_bg_circ" />
44         <ImageView
45                 android:layout_width="match_parent"
46                 android:layout_height="match_parent"
47                 android:paddingTop="8dp"
48                 android:scaleType="center"
49                 android:src="@drawable/ic_expand_more_48dp"
50                 android:tint="?android:attr/colorAccent"/>
51     </FrameLayout>
53     <TextView
54             android:id="@+id/immersive_cling_title"
55             android:layout_width="match_parent"
56             android:layout_height="wrap_content"
57             android:layout_below="@id/immersive_cling_chevron"
58             android:paddingEnd="48dp"
59             android:paddingStart="48dp"
60             android:paddingTop="40dp"
61             android:text="@string/immersive_cling_title"
62             android:textColor="@color/primary_text_default_material_light"
63             android:textSize="24sp" />
65     <TextView
66             android:id="@+id/immersive_cling_description"
67             android:layout_width="match_parent"
68             android:layout_height="wrap_content"
69             android:layout_below="@id/immersive_cling_title"
70             android:paddingEnd="48dp"
71             android:paddingStart="48dp"
72             android:paddingTop="12.6dp"
73             android:text="@string/immersive_cling_description"
74             android:textColor="@color/primary_text_default_material_light"
75             android:textSize="16sp" />
77     <Button
78             android:id="@+id/ok"
79             style="@style/Widget.Material.Button.Borderless"
80             android:layout_width="wrap_content"
81             android:layout_height="wrap_content"
82             android:layout_alignParentEnd="true"
83             android:layout_below="@+id/immersive_cling_description"
84             android:layout_marginEnd="40dp"
85             android:layout_marginTop="18dp"
86             android:paddingEnd="8dp"
87             android:paddingStart="8dp"
88             android:text="@string/immersive_cling_positive"
89             android:textColor="@android:color/white"
90             android:textSize="14sp" />
92 </RelativeLayout>