summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorJason Monk <jmonk@google.com>2015-07-09 19:04:14 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-07-09 19:04:15 +0000
commit5349ac88c6e5e736cd44d777d3fcd3574f977f5c (patch)
treebf0bc3eaab1274c61eea25d3af78fdb765654a9c /res/layout
parent22a3ec1f5fd39b98346b4f3420b0c014b55c8312 (diff)
parentf6a05cd23ea6db4e6c546290ba1f91a300a73400 (diff)
downloadandroid_packages_apps_PackageInstaller-5349ac88c6e5e736cd44d777d3fcd3574f977f5c.tar.gz
android_packages_apps_PackageInstaller-5349ac88c6e5e736cd44d777d3fcd3574f977f5c.tar.bz2
android_packages_apps_PackageInstaller-5349ac88c6e5e736cd44d777d3fcd3574f977f5c.zip
Merge "Add all permissions screen" into mnc-dev
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>