summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-06-22 12:15:38 -0400
committerJason Monk <jmonk@google.com>2015-07-08 11:19:18 -0400
commitf6a05cd23ea6db4e6c546290ba1f91a300a73400 (patch)
tree06f241c9bef908c83d10cd37b024c4ab5e2fb318 /res/layout
parent9ef638e53f9ae1c8f059a17d3cef27d89187b454 (diff)
downloadandroid_packages_apps_PackageInstaller-f6a05cd23ea6db4e6c546290ba1f91a300a73400.tar.gz
android_packages_apps_PackageInstaller-f6a05cd23ea6db4e6c546290ba1f91a300a73400.tar.bz2
android_packages_apps_PackageInstaller-f6a05cd23ea6db4e6c546290ba1f91a300a73400.zip
Add all permissions screen
Bug: 21268041 Change-Id: I51674ffbd252bf4585a992f8cc9e43973ce43512
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/preference_category_material.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/res/layout/preference_category_material.xml b/res/layout/preference_category_material.xml
new file mode 100644
index 00000000..c60fd12b
--- /dev/null
+++ b/res/layout/preference_category_material.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2015 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<!-- Based on frameworks/base/core/res/res/layout/preference_category_material.xml
+ but has a ViewGroup at the root to make the support lib happy.-->
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+android:id/title"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginBottom="16dip"
+ android:textAppearance="@android:style/TextAppearance.Material.Body2"
+ android:paddingStart="?android:attr/listPreferredItemPaddingStart"
+ android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
+ android:textColor="?android:attr/colorAccent"
+ android:paddingTop="16dip" />
+
+</LinearLayout>