Browse Source

add icon as svg

* recreate all launcher icons
pull/46/head
Jannik 1 year ago
parent
commit
849698779b
Signed by: Seil0 GPG Key ID: E8459F3723C52C24
  1. BIN
      app/src/main/ic_laogai_icon-playstore.png
  2. BIN
      app/src/main/ic_laogai_icon-web.png
  3. 2
      app/src/main/res/drawable/background_splash.xml
  4. BIN
      app/src/main/res/drawable/ic_splash_logo.png
  5. 22
      app/src/main/res/layouts/fragments/layout/fragment_on_welcome.xml
  6. 4
      app/src/main/res/mipmap-anydpi-v26/ic_laogai_icon.xml
  7. BIN
      app/src/main/res/mipmap-hdpi/ic_laogai_icon.png
  8. BIN
      app/src/main/res/mipmap-hdpi/ic_laogai_icon_foreground.png
  9. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
  10. BIN
      app/src/main/res/mipmap-mdpi/ic_laogai_icon.png
  11. BIN
      app/src/main/res/mipmap-mdpi/ic_laogai_icon_foreground.png
  12. BIN
      app/src/main/res/mipmap-mdpi/ic_laogai_icon_splash.png
  13. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
  14. BIN
      app/src/main/res/mipmap-xhdpi/ic_laogai_icon.png
  15. BIN
      app/src/main/res/mipmap-xhdpi/ic_laogai_icon_foreground.png
  16. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
  17. BIN
      app/src/main/res/mipmap-xxhdpi/ic_laogai_icon.png
  18. BIN
      app/src/main/res/mipmap-xxhdpi/ic_laogai_icon_foreground.png
  19. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
  20. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_laogai_icon.png
  21. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_laogai_icon_foreground.png
  22. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
  23. 2
      app/src/main/res/values/colors.xml
  24. 46
      etc/drawable_resources/laogai_icon.svg

BIN
app/src/main/ic_laogai_icon-playstore.png

After

Width: 512  |  Height: 512  |  Size: 13 KiB

BIN
app/src/main/ic_laogai_icon-web.png

Before

Width: 512  |  Height: 512  |  Size: 39 KiB

2
app/src/main/res/drawable/background_splash.xml

@ -6,7 +6,7 @@
<item android:gravity="center" android:width="144dp" android:height="144dp">
<bitmap
android:gravity="fill_horizontal|fill_vertical"
android:src="@mipmap/ic_laogai_icon_splash"/>
android:src="@drawable/ic_splash_logo"/>
</item>
</layer-list>

BIN
app/src/main/res/drawable/ic_splash_logo.png

After

Width: 144  |  Height: 144  |  Size: 7.0 KiB

22
app/src/main/res/layouts/fragments/layout/fragment_on_welcome.xml

@ -10,17 +10,17 @@
android:layout_height="match_parent">
<ImageView
android:id="@+id/logo"
android:layout_width="256dp"
android:layout_height="256dp"
android:contentDescription="@string/app_name"
android:scaleType="fitCenter"
app:layout_constraintBottom_toTopOf="@+id/linearLayout3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@mipmap/ic_launcher_foreground" />
android:id="@+id/logo"
android:layout_width="256dp"
android:layout_height="256dp"
android:contentDescription="@string/app_name"
android:scaleType="fitCenter"
app:layout_constraintBottom_toTopOf="@+id/linearLayout3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@mipmap/ic_laogai_icon_foreground" />
<LinearLayout
android:id="@+id/linearLayout3"

4
app/src/main/res/mipmap-anydpi-v26/ic_laogai_icon.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<background android:drawable="@color/ic_laogai_icon_background"/>
<foreground android:drawable="@mipmap/ic_laogai_icon_foreground"/>
</adaptive-icon>

BIN
app/src/main/res/mipmap-hdpi/ic_laogai_icon.png

Before

Width: 72  |  Height: 72  |  Size: 3.3 KiB

After

Width: 72  |  Height: 72  |  Size: 3.2 KiB

BIN
app/src/main/res/mipmap-hdpi/ic_laogai_icon_foreground.png

After

Width: 162  |  Height: 162  |  Size: 1.1 KiB

BIN
app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png

Before

Width: 162  |  Height: 162  |  Size: 1.8 KiB

BIN
app/src/main/res/mipmap-mdpi/ic_laogai_icon.png

Before

Width: 48  |  Height: 48  |  Size: 2.1 KiB

After

Width: 48  |  Height: 48  |  Size: 2.0 KiB

BIN
app/src/main/res/mipmap-mdpi/ic_laogai_icon_foreground.png

After

Width: 108  |  Height: 108  |  Size: 755 B

BIN
app/src/main/res/mipmap-mdpi/ic_laogai_icon_splash.png

Before

Width: 144  |  Height: 144  |  Size: 7.7 KiB

BIN
app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png

Before

Width: 108  |  Height: 108  |  Size: 1.1 KiB

BIN
app/src/main/res/mipmap-xhdpi/ic_laogai_icon.png

Before

Width: 96  |  Height: 96  |  Size: 4.7 KiB

After

Width: 96  |  Height: 96  |  Size: 4.5 KiB

BIN
app/src/main/res/mipmap-xhdpi/ic_laogai_icon_foreground.png

After

Width: 216  |  Height: 216  |  Size: 1.6 KiB

BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png

Before

Width: 216  |  Height: 216  |  Size: 2.7 KiB

BIN
app/src/main/res/mipmap-xxhdpi/ic_laogai_icon.png

Before

Width: 144  |  Height: 144  |  Size: 7.7 KiB

After

Width: 144  |  Height: 144  |  Size: 7.0 KiB

BIN
app/src/main/res/mipmap-xxhdpi/ic_laogai_icon_foreground.png

After

Width: 324  |  Height: 324  |  Size: 2.5 KiB

BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png

Before

Width: 324  |  Height: 324  |  Size: 5.2 KiB

BIN
app/src/main/res/mipmap-xxxhdpi/ic_laogai_icon.png

Before

Width: 192  |  Height: 192  |  Size: 11 KiB

After

Width: 192  |  Height: 192  |  Size: 10 KiB

BIN
app/src/main/res/mipmap-xxxhdpi/ic_laogai_icon_foreground.png

After

Width: 432  |  Height: 432  |  Size: 3.7 KiB

BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png

Before

Width: 432  |  Height: 432  |  Size: 8.2 KiB

2
app/src/main/res/values/colors.xml

@ -3,7 +3,7 @@
<color name="colorPrimary">#009688</color>
<color name="colorPrimaryDark">#009688</color>
<color name="colorAccent">#0096ff</color>
<color name="ic_launcher_background">#ffffff</color>
<color name="ic_laogai_icon_background">#ffffff</color>
<!--theme color section, not the working colors-->
<color name="themePrimaryDark">#000000</color>

46
etc/drawable_resources/laogai_icon.svg

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
version="1.0"
width="121"
height="219"
id="svg92"
viewBox="0 0 121.0 219"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs6">
<clipPath
clipPathUnits="userSpaceOnUse"
id="clipEmfPath1">
<path
d="M -0.33333333,0 H 1087.3333 V 232 H -0.33333333 Z"
id="path2" />
</clipPath>
<pattern
id="EMFhbasepattern"
patternUnits="userSpaceOnUse"
width="6"
height="6"
x="0"
y="0" />
</defs>
<g
id="g60"
transform="matrix(1.0027625,0,0,1.0015244,-19.720996,-9.0137196)">
<path
style="opacity:0.993;fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none;image-rendering:auto"
clip-path="url(#clipEmfPath1)"
d="m 103.66667,16 v 0 0 40.333333 c 12,6.666667 21.66666,19 21.66666,46.999997 0,28 -14.33333,45 -21.66666,50.33334 v 36 l 36.66666,-12.33334 V 9 Z"
id="path8" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
clip-path="url(#clipEmfPath1)"
d="M 64.666667,56.666667 V 15.333333 l -45,8 v 0 0 204.333337 l 45,-15.66667 V 169 C 52,162.66667 38.333333,147.33333 38.333333,116.33333 38.333333,85.333333 53.666667,65 64.666667,56.666667 Z"
id="path10" />
<path
style="fill:#000000;fill-opacity:1;fill-rule:nonzero;stroke:none"
clip-path="url(#clipEmfPath1)"
d="M 75.333333,68.666667 V 158 c 11.333334,-4.33333 25.333337,-20 25.333337,-49 0,-32.909003 -12.564687,-42.347858 -25.328763,-44.875741 0.01241,1.916829 -0.005,1.98343 -0.0046,4.542408 z"
id="path90" />
</g>
</svg>
Loading…
Cancel
Save