commit | a8bd6c1bb8a1f1d7d7d589b2c9339f8201522405 | [log] [tgz] |
---|---|---|
author | Hyunyoung Song <hyunyoungs@google.com> | Tue Jan 31 15:02:30 2017 -0800 |
committer | Hyunyoung Song <hyunyoungs@google.com> | Tue Jan 31 17:57:33 2017 -0800 |
tree | 9262f38b865b1ccc41f4c5cce3a86e5f60a1c511 | |
parent | 86c492ffcc4e5ddb57e79ddb088c1a25d4c720ab [diff] |
Change launcher icons to MaskableIconDrawable Test: manual test b/34853793 Change-Id: I3376c03e84a0a9d94190b930f16596b3e48e9a9d
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 0de7a4e..693d3a6 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml
@@ -83,7 +83,7 @@ <uses-permission android:name="android.permission.DELETE_PACKAGES"/> <application android:label="@string/settings_label" - android:icon="@mipmap/ic_launcher_settings" + android:icon="@drawable/ic_launcher_settings" android:taskAffinity="" android:theme="@style/Theme.Settings" android:hardwareAccelerated="true"
diff --git a/res/drawable/ic_launcher_settings.xml b/res/drawable/ic_launcher_settings.xml new file mode 100644 index 0000000..fc63648 --- /dev/null +++ b/res/drawable/ic_launcher_settings.xml
@@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<maskable-icon xmlns:android="http://schemas.android.com/apk/res/android"> + <background android:color="?android:attr/colorAccent"/> + <foreground android:drawable="@mipmap/ic_launcher_settings"/> +</maskable-icon> \ No newline at end of file
diff --git a/res/mipmap-hdpi/ic_launcher_settings.png b/res/mipmap-hdpi/ic_launcher_settings.png index 252e6b4..ddce98e 100644 --- a/res/mipmap-hdpi/ic_launcher_settings.png +++ b/res/mipmap-hdpi/ic_launcher_settings.png Binary files differ
diff --git a/res/mipmap-mdpi/ic_launcher_settings.png b/res/mipmap-mdpi/ic_launcher_settings.png index d2ecee9..86f3be8 100644 --- a/res/mipmap-mdpi/ic_launcher_settings.png +++ b/res/mipmap-mdpi/ic_launcher_settings.png Binary files differ
diff --git a/res/mipmap-xhdpi/ic_launcher_settings.png b/res/mipmap-xhdpi/ic_launcher_settings.png index fa8c813..360aa69 100644 --- a/res/mipmap-xhdpi/ic_launcher_settings.png +++ b/res/mipmap-xhdpi/ic_launcher_settings.png Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_launcher_settings.png b/res/mipmap-xxhdpi/ic_launcher_settings.png index 3fa69e9..7cb67a9 100644 --- a/res/mipmap-xxhdpi/ic_launcher_settings.png +++ b/res/mipmap-xxhdpi/ic_launcher_settings.png Binary files differ
diff --git a/res/mipmap-xxxhdpi/ic_launcher_settings.png b/res/mipmap-xxxhdpi/ic_launcher_settings.png index 72946b7..3fec9c4 100644 --- a/res/mipmap-xxxhdpi/ic_launcher_settings.png +++ b/res/mipmap-xxxhdpi/ic_launcher_settings.png Binary files differ