feat(android): add new icon by dzuk

This commit is contained in:
Harsh Shandilya 2023-11-15 09:11:37 +05:30
parent 9b27783886
commit 58f6607404
28 changed files with 53 additions and 12 deletions

View File

@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
* Add brand new icon by dzuk
* Significantly improve scrolling performance when there are a lot of saved posts
* Improve how the app interacts with system bars
* Enable logging of SQLite queries

View File

@ -1,4 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha07" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha07)" variant="all" version="8.3.0-alpha07">
<issues format="6" by="lint 8.3.0-alpha13" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha13)" variant="all" version="8.3.0-alpha13">
<issue
id="VectorPath"
message="Very long vector path (966 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
errorLine1=" android:pathData=&quot;M434.3,338.9C456.3,323.1 589.5,235.1 710.5,223.8C747.3,220.3 790.7,254.7 833.2,312.5C875.9,370.7 892.9,433.4 875.9,443C863.2,450.2 838.6,407.4 758.8,396.3C743.4,394.2 730.4,393.4 719.4,393.5C738.5,423.4 745.6,451.1 737.2,458C733.1,461.4 673.6,438.7 612.9,436.5C567.8,434.9 531.5,441.6 502.3,453C495.8,455.6 488.5,455 482.5,451.5C442.3,427.6 419.3,402.4 416.9,364.1C416.4,355.2 420.9,346.6 428.6,342C430.3,341 432.3,340 434.3,338.9ZM274.7,394.8C285.8,370.1 312.2,325.9 346.3,305.4C383.6,282.9 335,390.3 427.3,489.8C519.5,589.3 586.5,623.8 655.1,581.5C723.7,539.2 746.5,518.1 753,518.7C764,519.6 772.9,536.1 764.4,589.5C763,598.2 761.3,606.5 759.3,614.2C828.7,575 871.7,516.3 889,520C912,524.8 918.3,617.8 852.1,721C806.5,792.2 757.5,842.6 731.5,866.9C720.2,877.5 704.3,881.2 689.5,876.9C519.7,826.5 312.6,733.4 198.1,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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/drawable/ic_launcher_foreground.xml"
line="17"
column="27"/>
</issue>
</issues>

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -0,0 +1,20 @@
<!--
~ Copyright © 2023 Harsh Shandilya.
~ Use of this source code is governed by an MIT-style
~ license that can be found in the LICENSE file or at
~ https://opensource.org/licenses/MIT.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="1080"
android:viewportHeight="1080">
<group android:scaleX="0.616"
android:scaleY="0.616"
android:translateX="210.44"
android:translateY="201.2">
<path
android:pathData="M434.3,338.9C456.3,323.1 589.5,235.1 710.5,223.8C747.3,220.3 790.7,254.7 833.2,312.5C875.9,370.7 892.9,433.4 875.9,443C863.2,450.2 838.6,407.4 758.8,396.3C743.4,394.2 730.4,393.4 719.4,393.5C738.5,423.4 745.6,451.1 737.2,458C733.1,461.4 673.6,438.7 612.9,436.5C567.8,434.9 531.5,441.6 502.3,453C495.8,455.6 488.5,455 482.5,451.5C442.3,427.6 419.3,402.4 416.9,364.1C416.4,355.2 420.9,346.6 428.6,342C430.3,341 432.3,340 434.3,338.9ZM274.7,394.8C285.8,370.1 312.2,325.9 346.3,305.4C383.6,282.9 335,390.3 427.3,489.8C519.5,589.3 586.5,623.8 655.1,581.5C723.7,539.2 746.5,518.1 753,518.7C764,519.6 772.9,536.1 764.4,589.5C763,598.2 761.3,606.5 759.3,614.2C828.7,575 871.7,516.3 889,520C912,524.8 918.3,617.8 852.1,721C806.5,792.2 757.5,842.6 731.5,866.9C720.2,877.5 704.3,881.2 689.5,876.9C519.7,826.5 312.6,733.4 198.1,648.5C192.4,644.2 187.9,638.3 185.4,631.6C173.4,600.1 160.8,551.9 168.5,495.3C179.5,414.2 222.7,352.9 245.2,335.9C261.9,323.2 267.1,362.4 274.7,394.8Z"
android:fillColor="#FF4529"/>
</group>
</vector>

View File

@ -5,7 +5,7 @@
~ https://opensource.org/licenses/MIT.
-->
<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"/>
<background android:drawable="@color/icon_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
<monochrome android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 44 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

View File

@ -0,0 +1,9 @@
<!--
~ Copyright © 2021-2023 Harsh Shandilya.
~ Use of this source code is governed by an MIT-style
~ license that can be found in the LICENSE file or at
~ https://opensource.org/licenses/MIT.
-->
<resources>
<color name="icon_background">#540C00</color>
</resources>

View File

@ -7,8 +7,8 @@
<resources>
<style name="Theme.Claw.SplashScreen" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">#FF6C0000</item>
<item name="windowSplashScreenAnimatedIcon">@mipmap/ic_launcher_foreground</item>
<item name="windowSplashScreenBackground">@color/icon_background</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
<item name="windowSplashScreenAnimationDuration">1000</item>
<item name="postSplashScreenTheme">@style/Theme.Claw</item>
</style>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha07" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha07)" variant="all" version="8.3.0-alpha07">
<issues format="6" by="lint 8.3.0-alpha13" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha13)" variant="all" version="8.3.0-alpha13">
</issues>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha07" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha07)" variant="all" version="8.3.0-alpha07">
<issues format="6" by="lint 8.3.0-alpha13" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha13)" variant="all" version="8.3.0-alpha13">
</issues>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha07" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha07)" variant="all" version="8.3.0-alpha07">
<issues format="6" by="lint 8.3.0-alpha13" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha13)" variant="all" version="8.3.0-alpha13">
</issues>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha07" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha07)" variant="all" version="8.3.0-alpha07">
<issues format="6" by="lint 8.3.0-alpha13" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha13)" variant="all" version="8.3.0-alpha13">
</issues>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha07" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha07)" variant="all" version="8.3.0-alpha07">
<issues format="6" by="lint 8.3.0-alpha13" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha13)" variant="all" version="8.3.0-alpha13">
</issues>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<issues format="6" by="lint 8.3.0-alpha07" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha07)" variant="all" version="8.3.0-alpha07">
<issues format="6" by="lint 8.3.0-alpha13" type="baseline" client="gradle" dependencies="true" name="AGP (8.3.0-alpha13)" variant="all" version="8.3.0-alpha13">
</issues>