Add dynamic launcher icon
15
.idea/deploymentTargetDropDown.xml
generated
@ -3,20 +3,7 @@
|
|||||||
<component name="deploymentTargetDropDown">
|
<component name="deploymentTargetDropDown">
|
||||||
<value>
|
<value>
|
||||||
<entry key="app">
|
<entry key="app">
|
||||||
<State>
|
<State />
|
||||||
<runningDeviceTargetSelectedWithDropDown>
|
|
||||||
<Target>
|
|
||||||
<type value="RUNNING_DEVICE_TARGET" />
|
|
||||||
<deviceKey>
|
|
||||||
<Key>
|
|
||||||
<type value="SERIAL_NUMBER" />
|
|
||||||
<value value="emulator-5554" />
|
|
||||||
</Key>
|
|
||||||
</deviceKey>
|
|
||||||
</Target>
|
|
||||||
</runningDeviceTargetSelectedWithDropDown>
|
|
||||||
<timeTargetWasSelectedWithDropDown value="2024-02-11T21:32:49.549570838Z" />
|
|
||||||
</State>
|
|
||||||
</entry>
|
</entry>
|
||||||
</value>
|
</value>
|
||||||
</component>
|
</component>
|
||||||
|
|||||||
@ -11,8 +11,8 @@ android {
|
|||||||
applicationId = "cz.bugsy.passwordzebra"
|
applicationId = "cz.bugsy.passwordzebra"
|
||||||
minSdk = 29
|
minSdk = 29
|
||||||
targetSdk = 34
|
targetSdk = 34
|
||||||
versionCode = 2
|
versionCode = 4
|
||||||
versionName = "1.2.0"
|
versionName = "1.3.1"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
app/src/main/ic_launcher-playstore.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
5
app/src/main/res/drawable/zebra_shield.xml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<vector android:autoMirrored="true" android:height="277.33dp"
|
||||||
|
android:viewportHeight="277.33" android:viewportWidth="277.33"
|
||||||
|
android:width="277.33dp" xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<path android:fillColor="#000000" android:pathData="M127.26,270.48C91.2,251.75 62.98,222.2 44.89,184.24 29.9,152.79 25.42,117.94 24.08,94.63c-1.07,-11.79 -0.28,-33.02 2.03,-54.85 1.44,-13.58 1.18,-13.21 9.49,-13.21 49.13,-0.01 104.49,-25.6 106.87,-25.6 5.14,0 55.23,25.6 106.88,25.6 7.19,0 8.31,0.25 8.34,1.87 0.02,1.03 0.73,7.63 1.58,14.67 3.68,30.52 1.38,75.64 -5.23,102.4 -12.46,50.46 -42.37,92.6 -83.86,118.17 -11.41,7.03 -23.74,12.5 -28.19,12.5 -2.52,0 -7.5,-1.92 -14.74,-5.68zM242.43,169.8c1.71,-2.22 7.17,-18.81 9.91,-30.17 3.05,-12.63 6.38,-38.22 6.38,-49.17l0.01,-9.17 -10.26,3.57C210.39,98.37 191.73,120.48 164.36,147.8c-19.61,19.77 -20.77,20.57 -38.96,27.03 -16.34,5 -29.9,15.43 -44.8,23.42 -7.92,4.21 -15.04,8.28 -15.82,9.04 -1.17,1.15 0.07,3.23 7.2,12.11 8.3,10.32 24.97,26.9 27.04,26.9C147.17,223.65 200.74,204 242.43,169.8ZM104.82,134.88c20.05,-12.76 45.33,-35.39 50.27,-45.01 3.89,-7.57 39.64,-39.83 54.04,-45.18 12.37,-5.11 25.18,-8.84 38.21,-11.9 3.42,-0.78 6.3,-1.9 6.4,-2.48 0.11,-0.6 -2.84,-1.17 -6.75,-1.31 -17.53,-0.61 -41.72,-4.11 -56.53,-8.18 -11.25,-3.09 -16.56,-4.67 -21.04,-6.25 -3.79,-1.34 -4.81,-1.37 -6.4,-0.16 -1.21,0.92 -44.84,18.64 -66.1,36.6 -20.1,20.2 -46.43,31.88 -69.82,47.56 1.9,20.87 3.8,30.98 6.03,40.53 2.33,10.01 9.13,30.4 10.13,30.4 1.6,0 32.65,-16.38 61.56,-34.62z"/>
|
||||||
|
</vector>
|
||||||
@ -21,11 +21,11 @@
|
|||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
android:id="@+id/iconImageView"
|
android:id="@+id/iconImageView"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="161dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="126dp"
|
||||||
android:layout_marginTop="32dp"
|
android:layout_marginTop="32dp"
|
||||||
android:contentDescription="@string/info_text"
|
android:contentDescription="@string/info_text"
|
||||||
android:src="@drawable/icon_stift"
|
android:src="@drawable/zebra_shield"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/titleTextView"
|
app:layout_constraintTop_toBottomOf="@id/titleTextView"
|
||||||
|
|||||||
6
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@mipmap/ic_launcher_background"/>
|
||||||
|
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
|
<monochrome android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
|
</adaptive-icon>
|
||||||
6
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<background android:drawable="@mipmap/ic_launcher_background"/>
|
||||||
|
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
|
<monochrome android:drawable="@mipmap/ic_launcher_foreground"/>
|
||||||
|
</adaptive-icon>
|
||||||
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.0 KiB |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_background.webp
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.webp
Normal file
|
After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_background.webp
Normal file
|
After Width: | Height: | Size: 44 B |
BIN
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.webp
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_background.webp
Normal file
|
After Width: | Height: | Size: 46 B |
BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.webp
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 4.7 KiB |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_background.webp
Normal file
|
After Width: | Height: | Size: 52 B |
BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.webp
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 7.3 KiB After Width: | Height: | Size: 6.2 KiB |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.webp
Normal file
|
After Width: | Height: | Size: 52 B |
BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.webp
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 12 KiB |
4
app/src/main/res/values/ic_launcher_background.xml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<color name="ic_launcher_background">#3DDC84</color>
|
||||||
|
</resources>
|
||||||