Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / app_permission_item.xml
blob383d771074e097cb1ed22d6db6a1cd37b6fcd330
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2008 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
7   
8           http://www.apache.org/licenses/LICENSE-2.0
9   
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   Defines the layout of a single permission item.
19 -->
21 <view class="android.widget.AppSecurityPermissions$PermissionItemView"
22     xmlns:android="http://schemas.android.com/apk/res/android"
23     android:layout_width="match_parent"
24     android:layout_height="wrap_content"
25     android:orientation="horizontal"
26     android:background="?android:attr/selectableItemBackground">
28     <ImageView
29         android:id="@+id/perm_icon"
30         android:layout_width="24dp"
31         android:layout_height="24dp"
32         android:layout_marginStart="16dp"
33         android:layout_marginEnd="8dp"
34         android:scaleType="fitCenter"
35         android:tint="@android:color/black"/>
37     <ImageView
38         android:layout_width="wrap_content"
39         android:layout_height="match_parent"
40         android:background="?android:attr/dividerVertical" />
42     <TextView
43         android:id="@+id/perm_name"
44         android:textAppearance="?android:attr/textAppearanceSmall"
45         android:textSize="16sp"
46         android:layout_marginStart="8dp"
47         android:layout_width="wrap_content"
48         android:layout_height="wrap_content"
49         android:layout_gravity="top|left" />
51 </view>