Roll NDK to pick std::deque patch.
[android_tools.git] / sdk / platforms / android-25 / data / res / layout / app_permission_item_money.xml
blob20562856617083b45f62b25292811f6ab1e20bec
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2012 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 that costs money.
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" />
36     <ImageView
37         android:layout_width="wrap_content"
38         android:layout_height="match_parent"
39         android:background="?android:attr/dividerVertical" />
41     <RelativeLayout
42         android:layout_width="match_parent"
43         android:layout_height="wrap_content"
44         android:layout_marginStart="8dp">
45         <TextView
46             android:id="@+id/perm_name"
47             android:textAppearance="?android:attr/textAppearanceSmall"
48             android:textSize="16sp"
49             android:layout_width="wrap_content"
50             android:layout_height="wrap_content"
51             android:layout_alignParentStart="true"
52             android:layout_alignParentTop="true" />
53         <ImageView
54             android:id="@+id/perm_money_icon"
55             android:layout_width="wrap_content"
56             android:layout_height="wrap_content"
57             android:layout_alignParentStart="true"
58             android:layout_alignBottom="@+id/perm_money_label"
59             android:scaleType="fitCenter"
60             android:tint="@color/perms_costs_money"
61             android:tintMode="src_in"
62             android:src="@android:drawable/ic_coins_s" />
63         <TextView
64             android:id="@+id/perm_money_label"
65             android:textAppearance="?android:attr/textAppearanceSmall"
66             android:textSize="16sp"
67             android:textColor="@color/perms_costs_money"
68             android:layout_width="wrap_content"
69             android:layout_height="wrap_content"
70             android:layout_toEndOf="@id/perm_money_icon"
71             android:layout_below="@id/perm_name"
72             android:layout_marginStart="8dp"
73             android:text="@string/perm_costs_money" />
74     </RelativeLayout>
76 </view>