1
0
mirror of https://github.com/PurpleI2P/i2pd-android.git synced 2025-02-09 05:14:24 +00:00

test logo usage with mipmap and pre-rendered icon

Signed-off-by: R4SAS <r4sas@i2pmail.org>
This commit is contained in:
R4SAS 2022-01-30 02:27:25 +03:00
parent 8938481432
commit d14589f944
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
15 changed files with 124 additions and 10 deletions

View File

@ -15,7 +15,7 @@
<application
android:allowBackup="true"
android:icon="@mipmap/ic_logo"
android:icon="@mipmap/logo"
android:label="@string/app_name"
android:requestLegacyExternalStorage="true"
android:theme="@android:style/Theme.Holo.Light.DarkActionBar"

View File

@ -92,7 +92,8 @@ public class SettingsActivity extends Activity {
requestPermission();
addAutoStartupswitch();
try {
if( !onBoot.createNewFile()) Log.d(TAG, "Cant create new wile on: "+onBoot.getAbsolutePath());
if (!onBoot.createNewFile())
Log.d(TAG, "Cant create new wile on: "+onBoot.getAbsolutePath());
} catch (Exception e) {
Log.d(TAG, "error: " + e.toString());
}
@ -103,6 +104,7 @@ public class SettingsActivity extends Activity {
}
}
});
if(onBoot.exists()) autostart_switch.setChecked(true);
if(onBoot.exists())
autostart_switch.setChecked(true);
}
}

View File

@ -17,7 +17,7 @@
android:id="@+id/mainLogo"
android:layout_width="match_parent"
android:layout_height="140dp"
android:src="@mipmap/ic_logo" />
android:src="@drawable/ic_logo" />
<TextView
style="@android:style/Widget.Holo.Light.TextView.SpinnerItem"

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB