changeset 8:e7cdd6eaaeb3

use custom icon
author Carl Byington <carl@five-ten-sg.com>
date Tue, 24 Jun 2014 07:30:28 -0700
parents 992dca085fa2
children 42a5337cbcdd
files AndroidManifest.xml Makefile base.510.icon.png base.510.icon.xcf ic_launcher-web.png res/drawable-hdpi/ic_launcher.png res/drawable-hdpi/icon.png res/drawable-hdpi/notification_icon.png res/drawable-ldpi/icon.png res/drawable-ldpi/notification_icon.png res/drawable-mdpi/ic_launcher.png res/drawable-mdpi/icon.png res/drawable-mdpi/notification_icon.png res/drawable-xhdpi/ic_launcher.png res/drawable-xhdpi/icon.png res/drawable-xhdpi/notification_icon.png res/drawable-xxhdpi/ic_launcher.png res/drawable-xxhdpi/icon.png res/drawable-xxhdpi/notification_icon.png res/drawable-xxxhdpi/icon.png res/drawable-xxxhdpi/notification_icon.png res/values/strings.xml
diffstat 22 files changed, 17 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/AndroidManifest.xml	Mon Jun 23 17:14:44 2014 -0700
+++ b/AndroidManifest.xml	Tue Jun 24 07:30:28 2014 -0700
@@ -15,7 +15,7 @@
     <application
         android:debuggable="true"
         android:allowBackup="false"
-        android:icon="@drawable/ic_launcher"
+        android:icon="@drawable/icon"
         android:label="@string/app_name"
         android:theme="@style/AppTheme" >
         <activity
--- a/Makefile	Mon Jun 23 17:14:44 2014 -0700
+++ b/Makefile	Tue Jun 24 07:30:28 2014 -0700
@@ -13,6 +13,21 @@
 	cp $(apk) $(dest)
 	ls -al $(apk) $(dest)
 
+buildicon:
+	cp -a   base.510.icon.png                 res/drawable-xxxhdpi/icon.png
+	convert base.510.icon.png -resize 144x144 res/drawable-xxhdpi/icon.png
+	convert base.510.icon.png -resize 96x96   res/drawable-xhdpi/icon.png
+	convert base.510.icon.png -resize 72x72   res/drawable-hdpi/icon.png
+	convert base.510.icon.png -resize 48x48   res/drawable-mdpi/icon.png
+	convert base.510.icon.png -resize 36x36   res/drawable-ldpi/icon.png
+
+	convert res/drawable-xxxhdpi/icon.png -resize 50% -colorspace Gray res/drawable-xxxhdpi/notification_icon.png
+	convert res/drawable-xxhdpi/icon.png  -resize 50% -colorspace Gray res/drawable-xxhdpi/notification_icon.png
+	convert res/drawable-xhdpi/icon.png   -resize 50% -colorspace Gray res/drawable-xhdpi/notification_icon.png
+	convert res/drawable-hdpi/icon.png    -resize 50% -colorspace Gray res/drawable-hdpi/notification_icon.png
+	convert res/drawable-mdpi/icon.png    -resize 50% -colorspace Gray res/drawable-mdpi/notification_icon.png
+	convert res/drawable-ldpi/icon.png    -resize 50% -colorspace Gray res/drawable-ldpi/notification_icon.png
+
 indentc:
 	indent --line-length100 \
 		   --brace-indent4 \
Binary file base.510.icon.png has changed
Binary file base.510.icon.xcf has changed
Binary file ic_launcher-web.png has changed
Binary file res/drawable-hdpi/ic_launcher.png has changed
Binary file res/drawable-hdpi/icon.png has changed
Binary file res/drawable-hdpi/notification_icon.png has changed
Binary file res/drawable-ldpi/icon.png has changed
Binary file res/drawable-ldpi/notification_icon.png has changed
Binary file res/drawable-mdpi/ic_launcher.png has changed
Binary file res/drawable-mdpi/icon.png has changed
Binary file res/drawable-mdpi/notification_icon.png has changed
Binary file res/drawable-xhdpi/ic_launcher.png has changed
Binary file res/drawable-xhdpi/icon.png has changed
Binary file res/drawable-xhdpi/notification_icon.png has changed
Binary file res/drawable-xxhdpi/ic_launcher.png has changed
Binary file res/drawable-xxhdpi/icon.png has changed
Binary file res/drawable-xxhdpi/notification_icon.png has changed
Binary file res/drawable-xxxhdpi/icon.png has changed
Binary file res/drawable-xxxhdpi/notification_icon.png has changed
--- a/res/values/strings.xml	Mon Jun 23 17:14:44 2014 -0700
+++ b/res/values/strings.xml	Tue Jun 24 07:30:28 2014 -0700
@@ -3,5 +3,5 @@
     <string name="app_name">510 Connectbot Monitor</string>
     <string name="service_desc">Maintains socket connection between 510 Connectbot terminal emulator and the monitoring application.</string>
     <string name="action_settings">Settings</string>
-    <string name="copyright">Copyright 510 Software Group. Released under the GPLv3 or later. Full source code at http://www.five-ten-sg.com/510ConnectbotMonitor/</string>
+    <string name="copyright">Copyright © 2014 by 510 Software Group. Released under the GPLv3 or later. Full source code at http://www.five-ten-sg.com/510ConnectbotMonitor/</string>
 </resources>