blob: 8dcddc28c3b7a88dfc46623f595b77c3c52d2c30 [file] [log] [blame]
Jason Monk18f99d92014-09-11 13:36:42 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/**
4 * Copyright (c) 2014, The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 */
18-->
19<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:id="@+id/screen_pinning_text_area"
21 android:layout_width="wrap_content"
22 android:layout_height="wrap_content"
Andrew Sapperstein5c373442016-06-12 13:17:16 -070023 android:background="?android:attr/colorAccent"
24 android:gravity="center_vertical">
Jason Monk18f99d92014-09-11 13:36:42 -040025
26 <TextView
27 android:id="@+id/screen_pinning_title"
28 android:layout_width="match_parent"
29 android:layout_height="wrap_content"
30 android:paddingEnd="48dp"
31 android:paddingStart="48dp"
32 android:paddingTop="43dp"
33 android:text="@string/screen_pinning_title"
Amin Shaikhdc76afc2019-03-01 14:52:54 -050034 android:textColor="@android:color/white"
Jason Monk18f99d92014-09-11 13:36:42 -040035 android:textSize="24sp" />
36
37 <TextView
38 android:id="@+id/screen_pinning_description"
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 android:layout_below="@id/screen_pinning_title"
42 android:paddingEnd="48dp"
43 android:paddingStart="48dp"
44 android:paddingTop="12.6dp"
45 android:text="@string/screen_pinning_description"
Amin Shaikhdc76afc2019-03-01 14:52:54 -050046 android:textColor="@android:color/white"
Jason Monk18f99d92014-09-11 13:36:42 -040047 android:textSize="16sp" />
48
49 <Button
50 android:id="@+id/screen_pinning_ok_button"
51 style="@android:style/Widget.Material.Button"
52 android:layout_width="wrap_content"
53 android:layout_height="36dp"
54 android:layout_alignParentEnd="true"
55 android:layout_below="@+id/screen_pinning_description"
56 android:layout_marginEnd="40dp"
57 android:layout_marginTop="18dp"
58 android:background="@null"
59 android:paddingEnd="8dp"
60 android:paddingStart="8dp"
61 android:text="@string/screen_pinning_positive"
62 android:textColor="@android:color/white"
63 android:textSize="14sp" />
64
65 <Button
66 android:id="@+id/screen_pinning_cancel_button"
67 style="@android:style/Widget.Material.Button"
68 android:layout_width="wrap_content"
69 android:layout_height="36dp"
70 android:layout_alignTop="@id/screen_pinning_ok_button"
71 android:layout_marginEnd="4dp"
72 android:layout_toStartOf="@id/screen_pinning_ok_button"
73 android:background="@null"
74 android:paddingEnd="8dp"
75 android:paddingStart="8dp"
76 android:text="@string/screen_pinning_negative"
77 android:textColor="@android:color/white"
78 android:textSize="14sp" />
79
80</RelativeLayout>