diff options
author | Jason Monk <jmonk@google.com> | 2015-03-26 11:05:38 -0400 |
---|---|---|
committer | Jason Monk <jmonk@google.com> | 2015-03-27 10:43:05 -0400 |
commit | 46c55104384a9138d51c18c24114885af842afde (patch) | |
tree | 24ad4d4dd7a9dfe989947893dbbcf71c8483138c /res/drawable | |
parent | 024f373dc0a90cbd4b513a1cf1dcf8a6c248dc49 (diff) | |
download | android_packages_apps_PackageInstaller-46c55104384a9138d51c18c24114885af842afde.tar.gz android_packages_apps_PackageInstaller-46c55104384a9138d51c18c24114885af842afde.tar.bz2 android_packages_apps_PackageInstaller-46c55104384a9138d51c18c24114885af842afde.zip |
Update permissions UI
- Update existing settings page to show action bar and app header.
- Add page to manage apps based on permission.
Change-Id: I2211044fbe4db4b4fbf981f1a7ad7a01666cd69d
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/header_background.xml | 21 | ||||
-rw-r--r-- | res/drawable/ic_info.xml | 27 |
2 files changed, 48 insertions, 0 deletions
diff --git a/res/drawable/header_background.xml b/res/drawable/header_background.xml new file mode 100644 index 00000000..77db9e03 --- /dev/null +++ b/res/drawable/header_background.xml @@ -0,0 +1,21 @@ +<?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. +--> + +<ripple xmlns:android="http://schemas.android.com/apk/res/android" + android:color="?android:attr/colorControlHighlight"> + <item android:drawable="@color/header_background_color" /> +</ripple> + diff --git a/res/drawable/ic_info.xml b/res/drawable/ic_info.xml new file mode 100644 index 00000000..f80a41cb --- /dev/null +++ b/res/drawable/ic_info.xml @@ -0,0 +1,27 @@ +<!-- +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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24.0dp" + android:height="24.0dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + <path + android:pathData="M0 0h24v24H0z" + android:fillColor="#00000000"/> + <path + android:fillColor="#FFFFFFFF" + android:pathData="M11.0,17.0l2.0,0.0l0.0,-6.0l-2.0,0.0l0.0,6.0zm1.0,-15.0C6.48,2.0 2.0,6.48 2.0,12.0s4.48,10.0 10.0,10.0 10.0,-4.48 10.0,-10.0S17.52,2.0 12.0,2.0zm0.0,18.0c-4.41,0.0 -8.0,-3.59 -8.0,-8.0s3.59,-8.0 8.0,-8.0 8.0,3.59 8.0,8.0 -3.59,8.0 -8.0,8.0zM11.0,9.0l2.0,0.0L13.0,7.0l-2.0,0.0l0.0,2.0z"/> +</vector> |