blob: 4204a4f1ffadf9e7b1800832c5a569c1309c00c6 [file] [log] [blame]
calderwoodraf7d8f632017-09-20 14:03:33 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2017 The Android Open Source Project
4 ~
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
8 ~
9 ~ http://www.apache.org/licenses/LICENSE-2.0
10 ~
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<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18 android:layout_width="match_parent"
19 android:layout_height="wrap_content"
20 android:paddingStart="16dp"
21 android:paddingEnd="16dp"
calderwoodra13221d72017-09-20 16:08:29 -070022 android:paddingTop="16dp"
23 android:paddingBottom="8dp">
calderwoodraf7d8f632017-09-20 14:03:33 -070024
25 <ImageView
26 android:id="@+id/permission_image"
calderwoodra13221d72017-09-20 16:08:29 -070027 android:layout_width="40dp"
28 android:layout_height="40dp"
calderwoodraf7d8f632017-09-20 14:03:33 -070029 android:layout_marginEnd="16dp"
30 android:src="@drawable/quantum_ic_my_location_vd_theme_24"
31 android:tint="@color/dialer_secondary_text_color"/>
32
33 <TextView
34 android:id="@+id/permission_text"
35 android:layout_width="wrap_content"
36 android:layout_height="wrap_content"
37 android:layout_toEndOf="@id/permission_image"
calderwoodra13221d72017-09-20 16:08:29 -070038 android:minHeight="40dp"
39 android:text="@string/search_location_permission"
40 android:lineSpacingMultiplier="1.2"
calderwoodraf7d8f632017-09-20 14:03:33 -070041 android:textSize="16sp"
42 android:textColor="@color/dialer_secondary_text_color"/>
43
44 <Button
45 android:id="@+id/location_permission_allow"
46 android:layout_width="wrap_content"
47 android:layout_height="wrap_content"
48 android:layout_alignParentEnd="true"
49 android:layout_below="@id/permission_text"
calderwoodra13221d72017-09-20 16:08:29 -070050 android:layout_marginTop="24dp"
51 android:text="@string/nearby_places_allow"/>
52
53 <Button
54 android:id="@+id/location_permission_dismiss"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:layout_toStartOf="@+id/location_permission_allow"
58 android:layout_below="@id/permission_text"
59 android:layout_marginEnd="16dp"
60 android:layout_marginTop="24dp"
61 android:text="@string/nearby_places_dismiss"
calderwoodraf7d8f632017-09-20 14:03:33 -070062 android:textColor="@color/dialer_theme_color"
63 style="@style/Widget.AppCompat.Button.Borderless"/>
64</RelativeLayout>