瀏覽代碼

Proper name and icon

master
Chris Smith 14 年之前
父節點
當前提交
f0036cfabf

+ 2
- 1
code/ContextHome/AndroidManifest.xml 查看文件

@@ -2,7 +2,8 @@
2 2
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3 3
      package="uk.co.md87.android.contexthome" android:versionCode="1" android:versionName="0.0.1">
4 4
     <application android:label="Context Sensitive Home Screen" android:icon="@drawable/icon">
5
-         <activity android:name=".ContextHome" android:label="ContextHome">
5
+         <activity android:name=".ContextHome" android:label="Context Home"
6
+            android:icon="@drawable/icon">
6 7
             <intent-filter>
7 8
                 <action android:name="android.intent.action.MAIN"/>
8 9
                 <category android:name="android.intent.category.HOME"/>

二進制
code/ContextHome/dist/ContextHome.apk 查看文件


+ 5
- 2
code/ContextHome/src/uk/co/md87/android/contexthome/R.java 查看文件

@@ -10,10 +10,13 @@ package uk.co.md87.android.contexthome;
10 10
 public final class R {
11 11
     public static final class attr {
12 12
     }
13
+    public static final class drawable {
14
+        public static final int icon=0x7f020000;
15
+    }
13 16
     public static final class layout {
14
-        public static final int main=0x7f020000;
17
+        public static final int main=0x7f030000;
15 18
     }
16 19
     public static final class string {
17
-        public static final int app_name=0x7f030000;
20
+        public static final int app_name=0x7f040000;
18 21
     }
19 22
 }

Loading…
取消
儲存