diff options
author | Philip P. Moltmann <moltmann@google.com> | 2018-08-02 18:48:50 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-08-02 18:48:50 +0000 |
commit | ab2978b51b45cba1e845ee28b2b5c4c34a760367 (patch) | |
tree | a3f7b0e76b9c2bbd9e686590564cc202eaa482fc /packages/PackageInstaller/res | |
parent | 75921283053896fc8f6c5f5051834654871da63c (diff) | |
parent | f4bb58411b8dae02b7f9c416d3f36a1a8d0ef9b5 (diff) |
Merge changes from topic "package-installer-soong"
* changes:
Add icon for package installer
Soongify PackageInstaller.
Clean up package installer
Diffstat (limited to 'packages/PackageInstaller/res')
-rw-r--r-- | packages/PackageInstaller/res/drawable/app_icon_foreground.xml | 36 | ||||
-rw-r--r-- | packages/PackageInstaller/res/drawable/ic_app_icon.xml | 21 |
2 files changed, 57 insertions, 0 deletions
diff --git a/packages/PackageInstaller/res/drawable/app_icon_foreground.xml b/packages/PackageInstaller/res/drawable/app_icon_foreground.xml new file mode 100644 index 000000000000..b1f40c12b9dd --- /dev/null +++ b/packages/PackageInstaller/res/drawable/app_icon_foreground.xml @@ -0,0 +1,36 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2018 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. + --> +<inset + xmlns:android="http://schemas.android.com/apk/res/android" + android:insetTop="12dp" + android:insetRight="12dp" + android:insetBottom="12dp" + android:insetLeft="12dp"> + + <vector + android:width="24dp" + android:height="24dp" + android:viewportWidth="24" + android:viewportHeight="24"> + + <path + android:fillColor="#FFFFFF" + android:pathData="M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z" /> + <path + android:pathData="M0 0h24v24H0z" /> + </vector> +</inset> diff --git a/packages/PackageInstaller/res/drawable/ic_app_icon.xml b/packages/PackageInstaller/res/drawable/ic_app_icon.xml new file mode 100644 index 000000000000..82c18e07f5c4 --- /dev/null +++ b/packages/PackageInstaller/res/drawable/ic_app_icon.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2018 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. + --> + +<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> + <background android:drawable="@*android:color/accent_device_default_light"/> + <foreground android:drawable="@drawable/app_icon_foreground"/> +</adaptive-icon>
\ No newline at end of file |