1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 The Android Open Source Project
3
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-->
16
17<!--
18  Defines the layout of a single permission item.
19  Contains the group name and a list of permission labels under the group.
20-->
21
22<RelativeLayout
23    xmlns:android="http://schemas.android.com/apk/res/android"
24    android:layout_width="match_parent"
25    android:layout_height="wrap_content">
26
27    <ImageView
28        android:id="@+id/perm_icon"
29        android:layout_width="24dip"
30        android:layout_height="24dip"
31        android:layout_alignParentStart="true"
32        android:scaleType="fitCenter" />
33
34
35    <TextView
36        android:id="@+id/permission_group"
37        android:textAppearance="?android:attr/textAppearanceMedium"
38        android:textStyle="bold"
39        android:paddingStart="6dip"
40        android:layout_toEndOf="@id/perm_icon"
41        android:layout_width="wrap_content"
42        android:layout_height="wrap_content" />
43
44    <TextView
45        android:id="@+id/permission_list"
46        android:textAppearance="?android:attr/textAppearanceSmall"
47        android:layout_marginTop="-4dip"
48        android:paddingBottom="8dip"
49        android:paddingStart="6dip"
50        android:layout_below="@id/permission_group"
51        android:layout_toEndOf="@id/perm_icon"
52        android:layout_width="wrap_content"
53        android:layout_height="wrap_content" />
54
55</RelativeLayout>
56