diff options
author | Svetoslav <svetoslavganov@google.com> | 2015-10-29 13:14:27 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2015-11-18 20:03:50 +0000 |
commit | 2cf17ddcef3c8dd260bd3d174123842c81a7d025 (patch) | |
tree | bd6cf4fca561cb0c62767c1fd5781991cac171c3 /res/drawable | |
parent | 30707bb7a27157d5124b0c648509c0e63d1da392 (diff) | |
download | android_packages_apps_PackageInstaller-2cf17ddcef3c8dd260bd3d174123842c81a7d025.tar.gz android_packages_apps_PackageInstaller-2cf17ddcef3c8dd260bd3d174123842c81a7d025.tar.bz2 android_packages_apps_PackageInstaller-2cf17ddcef3c8dd260bd3d174123842c81a7d025.zip |
Clean up package installer styling
Package installer should be using exclusively the device
defaut themes on handhelds (phones and tables) to allow
OEMs customize its look and feel. Also for handhelds the
installer should use the same preference framework as the
settings app to ensure it looks like the settings app on
an OEMs device.
This change needs to be picked up by a GMS build to deliver
to partners ensuring the installer UI is consistent with
the device UI.
bug:24286616
Change-Id: I92e39fd1488e76b0b23b7f1efa13e04ed5bbc7ba
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/header_background.xml | 21 | ||||
-rw-r--r-- | res/drawable/ic_dialog_alert_material.xml | 25 | ||||
-rw-r--r-- | res/drawable/ic_more_items.xml | 29 |
3 files changed, 54 insertions, 21 deletions
diff --git a/res/drawable/header_background.xml b/res/drawable/header_background.xml deleted file mode 100644 index 77db9e03..00000000 --- a/res/drawable/header_background.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?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_dialog_alert_material.xml b/res/drawable/ic_dialog_alert_material.xml new file mode 100644 index 00000000..8bd2e0ba --- /dev/null +++ b/res/drawable/ic_dialog_alert_material.xml @@ -0,0 +1,25 @@ +<!-- +Copyright (C) 2014 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="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0" + android:tint="?attr/colorControlNormal"> + <path + android:pathData="M1,21l22,0L12,2L1,21zM13,18l-2,0l0,-2l2,0L13,18zM13,14l-2,0l0,-4l2,0L13,14z" + android:fillColor="@android:color/white"/> +</vector> diff --git a/res/drawable/ic_more_items.xml b/res/drawable/ic_more_items.xml new file mode 100644 index 00000000..5fdcdcef --- /dev/null +++ b/res/drawable/ic_more_items.xml @@ -0,0 +1,29 @@ +<?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. +--> +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + + <path + android:fillColor="#000000" + android:pathData="M3 13h2v-2H3v2zm0 4h2v-2H3v2zm0-8h2V7H3v2zm4 4h14v-2H7v2zm0 4h14v-2H7v2zM7 +7v2h14V7H7z" /> + <path + android:pathData="M0 0h24v24H0z" /> +</vector>
\ No newline at end of file |