Fixed launcher icons
This commit is contained in:
parent
2ee34e721d
commit
de5f48a2f6
|
@ -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"/>
|
||||||
|
|
|
@ -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;
|
||||||
|
|
BIN
SWADroid/res/drawable-hdpi/ic_launcher_swadroid.png
Normal file
BIN
SWADroid/res/drawable-hdpi/ic_launcher_swadroid.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
BIN
SWADroid/res/drawable-ldpi/ic_launcher_swadroid.png
Normal file
BIN
SWADroid/res/drawable-ldpi/ic_launcher_swadroid.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
BIN
SWADroid/res/drawable-mdpi/ic_launcher_swadroid.png
Normal file
BIN
SWADroid/res/drawable-mdpi/ic_launcher_swadroid.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user