blob: 800bf62a87ca6aebfde84701173709a4a31582f5 [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"
22 android:paddingTop="16dp">
23
24 <ImageView
25 android:id="@+id/permission_image"
26 android:layout_width="56dp"
27 android:layout_height="56dp"
28 android:layout_marginEnd="16dp"
29 android:src="@drawable/quantum_ic_my_location_vd_theme_24"
30 android:tint="@color/dialer_secondary_text_color"/>
31
32 <TextView
33 android:id="@+id/permission_text"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:layout_toEndOf="@id/permission_image"
37 android:minHeight="56dp"
38 android:text="@string/permission_no_location_for_search"
39 android:textSize="16sp"
40 android:textColor="@color/dialer_secondary_text_color"/>
41
42 <Button
43 android:id="@+id/location_permission_allow"
44 android:layout_width="wrap_content"
45 android:layout_height="wrap_content"
46 android:layout_alignParentEnd="true"
47 android:layout_below="@id/permission_text"
48 android:text="@string/nearby_places_allow"
49 android:textColor="@color/dialer_theme_color"
50 style="@style/Widget.AppCompat.Button.Borderless"/>
51</RelativeLayout>