Fixed launcher icons

This commit is contained in:
Juan Miguel Boyero Corral 2011-01-15 17:56:25 +01:00
parent 2ee34e721d
commit de5f48a2f6
6 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<application android:debuggable="true"> <application android:debuggable="true">
<activity android:name=".SWADMain" <activity android:name=".SWADMain"
android:label="@string/app_name" android:label="@string/app_name"
android:icon="@drawable/swadroid" android:configChanges="keyboard|keyboardHidden|orientation"> android:icon="@drawable/ic_launcher_swadroid" android:configChanges="keyboard|keyboardHidden|orientation">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN"/> <action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/> <category android:name="android.intent.category.LAUNCHER"/>

View File

@ -15,7 +15,7 @@ public final class R {
} }
public static final class drawable { public static final class drawable {
public static final int erroricon=0x7f020000; public static final int erroricon=0x7f020000;
public static final int swadroid=0x7f020001; public static final int ic_launcher_swadroid=0x7f020001;
} }
public static final class id { public static final class id {
public static final int login_menu=0x7f080000; public static final int login_menu=0x7f080000;

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

@ -173,7 +173,7 @@ public class SWADMain extends ListActivity {
Window w = getWindow(); Window w = getWindow();
w.requestFeature(Window.FEATURE_LEFT_ICON); w.requestFeature(Window.FEATURE_LEFT_ICON);
setContentView(R.layout.main); setContentView(R.layout.main);
w.setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, R.drawable.swadroid); w.setFeatureDrawableResource(Window.FEATURE_LEFT_ICON, R.drawable.ic_launcher_swadroid);
functions = getResources().getStringArray(R.array.functions); functions = getResources().getStringArray(R.array.functions);
setListAdapter(new ArrayAdapter<String>(this, R.layout.functions_list_item, functions)); setListAdapter(new ArrayAdapter<String>(this, R.layout.functions_list_item, functions));