summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@gmail.com>2015-10-19 17:43:01 +0200
committerMichael Bestas <mikeioannina@gmail.com>2016-12-30 21:25:07 +0200
commit49416cbe8c5c303ecc8e3ff07ea72c35ac54539b (patch)
treeb300cd98009c6d686bad682ca11e5ae49b382aba
parent0c6a45de0d7e3f0e5a79725207037b59c58ffb01 (diff)
downloadandroid_packages_apps_Stk-staging/cm-14.1-cafrebase.tar.gz
android_packages_apps_Stk-staging/cm-14.1-cafrebase.tar.bz2
android_packages_apps_Stk-staging/cm-14.1-cafrebase.zip
Stk: New launcher iconstaging/cm-14.1-cafrebase
commit 7efefb0ad1dc8b1d73d8e1c5f3906f5b5ce11e6f Author: Michael Bestas <mikeioannina@gmail.com> Date: Fri Feb 6 01:05:46 2015 +0200 Update app icon again * Slightly darker so it doesn't blend with launcher's drawer white color Change-Id: I50a7d17eff6691eecc52a02f95be438ab1a51e8e commit 1376c3f070b56827356033a67a1fdc9d1b298a55 Author: Michael Bestas <mikeioannina@gmail.com> Date: Tue Feb 3 16:51:38 2015 +0200 Update app icon * Recreated with better coloring & shadows by Jovie Brett Bardoles Change-Id: Ic70f001e8587f4ccf5222f1d810f4a2afada6fb3 commit 9774951837a01423e93c4e9b8b4184b22bcd7ca8 Author: Michael Bestas <mikeioannina@gmail.com> Date: Thu Nov 27 06:02:40 2014 +0200 Stk: New launcher icon Change-Id: Ic08e9fcfb4431cbc151fc799b9f24434fe1581c0 Change-Id: If5936b8f266579c44f5ce5cec4b7c91399fa0bf5 (cherry picked from commit 045beb716f8b3f53205582fa05137a4e00dcd9e4)
-rw-r--r--AndroidManifest.xml6
-rw-r--r--res/mipmap-hdpi/ic_launcher_sim_toolkit.pngbin0 -> 22290 bytes
-rw-r--r--res/mipmap-mdpi/ic_launcher_sim_toolkit.pngbin0 -> 22073 bytes
-rw-r--r--res/mipmap-xhdpi/ic_launcher_sim_toolkit.pngbin0 -> 22439 bytes
-rw-r--r--res/mipmap-xxhdpi/ic_launcher_sim_toolkit.pngbin0 -> 23032 bytes
-rw-r--r--res/mipmap-xxxhdpi/ic_launcher_sim_toolkit.pngbin0 -> 23456 bytes
-rw-r--r--src/com/android/stk/StkLauncherActivity.java2
7 files changed, 4 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index ff83d59..5e9cd08 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -33,7 +33,7 @@
<uses-permission android:name="android.permission.RECEIVE_STK_COMMANDS" />
<uses-permission android:name="android.permission.SEND_RECEIVE_STK_INTENT"/>
- <application android:icon="@drawable/ic_launcher_sim_toolkit"
+ <application android:icon="@mipmap/ic_launcher_sim_toolkit"
android:label="@string/app_name"
android:clearTaskOnLaunch="true"
android:process="com.android.phone"
@@ -67,7 +67,7 @@
<activity android:name="StkMenuActivity"
android:theme="@android:style/Theme.NoTitleBar"
- android:icon="@drawable/ic_launcher_sim_toolkit"
+ android:icon="@mipmap/ic_launcher_sim_toolkit"
android:label="@string/app_name"
android:configChanges="orientation|locale|screenSize|keyboardHidden|mnc|mcc"
android:exported="false"
@@ -81,7 +81,7 @@
<activity android:name="StkInputActivity"
android:label="@string/app_name"
- android:icon="@drawable/ic_launcher_sim_toolkit"
+ android:icon="@mipmap/ic_launcher_sim_toolkit"
android:theme="@android:style/Theme.Holo"
android:configChanges="orientation|locale|screenSize|keyboardHidden"
android:exported="false"
diff --git a/res/mipmap-hdpi/ic_launcher_sim_toolkit.png b/res/mipmap-hdpi/ic_launcher_sim_toolkit.png
new file mode 100644
index 0000000..38d8d58
--- /dev/null
+++ b/res/mipmap-hdpi/ic_launcher_sim_toolkit.png
Binary files differ
diff --git a/res/mipmap-mdpi/ic_launcher_sim_toolkit.png b/res/mipmap-mdpi/ic_launcher_sim_toolkit.png
new file mode 100644
index 0000000..304d8c1
--- /dev/null
+++ b/res/mipmap-mdpi/ic_launcher_sim_toolkit.png
Binary files differ
diff --git a/res/mipmap-xhdpi/ic_launcher_sim_toolkit.png b/res/mipmap-xhdpi/ic_launcher_sim_toolkit.png
new file mode 100644
index 0000000..d199093
--- /dev/null
+++ b/res/mipmap-xhdpi/ic_launcher_sim_toolkit.png
Binary files differ
diff --git a/res/mipmap-xxhdpi/ic_launcher_sim_toolkit.png b/res/mipmap-xxhdpi/ic_launcher_sim_toolkit.png
new file mode 100644
index 0000000..917cf15
--- /dev/null
+++ b/res/mipmap-xxhdpi/ic_launcher_sim_toolkit.png
Binary files differ
diff --git a/res/mipmap-xxxhdpi/ic_launcher_sim_toolkit.png b/res/mipmap-xxxhdpi/ic_launcher_sim_toolkit.png
new file mode 100644
index 0000000..2c2c06d
--- /dev/null
+++ b/res/mipmap-xxxhdpi/ic_launcher_sim_toolkit.png
Binary files differ
diff --git a/src/com/android/stk/StkLauncherActivity.java b/src/com/android/stk/StkLauncherActivity.java
index 7cb3c06..26f60bc 100644
--- a/src/com/android/stk/StkLauncherActivity.java
+++ b/src/com/android/stk/StkLauncherActivity.java
@@ -74,7 +74,7 @@ public class StkLauncherActivity extends ListActivity {
mTitleIconView = (ImageView) findViewById(R.id.title_icon);
mTitleTextView.setText(R.string.app_name);
mBitMap = BitmapFactory.decodeResource(getResources(),
- R.drawable.ic_launcher_sim_toolkit);
+ R.mipmap.ic_launcher_sim_toolkit);
}
@Override