diff --git a/android/res/drawable-anydpi-v26/ic_launcher.xml b/android/res/drawable-anydpi-v26/ic_launcher.xml new file mode 100644 index 00000000..a418402f --- /dev/null +++ b/android/res/drawable-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/android/res/drawable-hdpi/ic_launcher.png b/android/res/drawable-hdpi/ic_launcher.png new file mode 100644 index 00000000..c44c54c9 Binary files /dev/null and b/android/res/drawable-hdpi/ic_launcher.png differ diff --git a/android/res/drawable-xhdpi/ic_launcher.png b/android/res/drawable-xhdpi/ic_launcher.png new file mode 100644 index 00000000..642fea13 Binary files /dev/null and b/android/res/drawable-xhdpi/ic_launcher.png differ diff --git a/android/res/drawable-xxhdpi/ic_launcher.png b/android/res/drawable-xxhdpi/ic_launcher.png new file mode 100644 index 00000000..6558a319 Binary files /dev/null and b/android/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/android/res/drawable-xxxhdpi/ic_launcher.png b/android/res/drawable-xxxhdpi/ic_launcher.png new file mode 100644 index 00000000..929bf516 Binary files /dev/null and b/android/res/drawable-xxxhdpi/ic_launcher.png differ diff --git a/android/res/drawable/ic_launcher.png b/android/res/drawable/ic_launcher.png new file mode 100644 index 00000000..f1b9bdc4 Binary files /dev/null and b/android/res/drawable/ic_launcher.png differ diff --git a/android/res/layout-v19/logo.xml b/android/res/layout-v19/logo.xml new file mode 100644 index 00000000..3c875863 --- /dev/null +++ b/android/res/layout-v19/logo.xml @@ -0,0 +1,6 @@ + + \ No newline at end of file diff --git a/android/res/layout/about.xml b/android/res/layout/about.xml index 4e415ded..34a5b8f9 100644 --- a/android/res/layout/about.xml +++ b/android/res/layout/about.xml @@ -9,12 +9,17 @@ android:id="@+id/main_layout" android:weightSum="1"> - + android:src="@drawable/ic_launcher" />--> + - + android:id="@+id/launcherIcon" />--> + + + \ No newline at end of file diff --git a/android/res/layout/row.xml b/android/res/layout/row.xml index ba8d9339..4a50d3a1 100644 --- a/android/res/layout/row.xml +++ b/android/res/layout/row.xml @@ -1,40 +1,40 @@ - - - - - - - - - - - - + + + + + + + + + + + + \ No newline at end of file diff --git a/android/src/su/xash/engine/LauncherActivity.java b/android/src/su/xash/engine/LauncherActivity.java index c6816361..044eb271 100644 --- a/android/src/su/xash/engine/LauncherActivity.java +++ b/android/src/su/xash/engine/LauncherActivity.java @@ -60,12 +60,12 @@ public class LauncherActivity extends Activity setContentView(R.layout.activity_launcher); - if( sdk > 17 ) +/* if( sdk > 17 ) { ImageView icon = (ImageView) findViewById(R.id.launcherIcon); icon.setImageDrawable(getResources().getDrawable(R.mipmap.ic_launcher)); } - +*/ TabHost tabHost = (TabHost) findViewById(R.id.tabhost); tabHost.setup(); @@ -439,12 +439,12 @@ public class LauncherActivity extends Activity dialog.setContentView(R.layout.about); dialog.setCancelable(true); dialog.show(); - if( sdk > 17 ) +/* if( sdk > 17 ) { ImageView icon = (ImageView) dialog.findViewById(R.id.aboutIcon); icon.setImageDrawable(getResources().getDrawable(R.mipmap.ic_launcher)); } - +*/ TextView tView6 = (TextView) dialog.findViewById(R.id.textView6); tView6.setMovementMethod(LinkMovementMethod.getInstance()); ((Button)dialog.findViewById( R.id.button_about_ok )).setOnClickListener(new View.OnClickListener(){