Browse Source

add icon as svg

* recreate all launcher icons
pull/46/head
Jannik 2 years 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

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  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

Binary file not shown.

After

Width:  |  Height:  |  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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 755 B

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 10 KiB

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

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

Binary file not shown.

Before

Width:  |  Height:  |  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>

After

Width:  |  Height:  |  Size: 1.7 KiB

Loading…
Cancel
Save

Du besuchst diese Seite mit einem veralteten IPv4-Internetzugang. Möglicherweise treten in Zukunft Probleme mit der Erreichbarkeit und Performance auf. Bitte frage deinen Internetanbieter oder Netzwerkadministrator nach IPv6-Unterstützung.
You are visiting this site with an outdated IPv4 internet access. You may experience problems with accessibility and performance in the future. Please ask your ISP or network administrator for IPv6 support.
Weitere Infos | More Information
Klicke zum schließen | Click to close