Skip to content

Commit b740e84

Browse files
committed
feat: update icon style
1 parent f2b0ff4 commit b740e84

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+73
-48
lines changed

android/app/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,12 @@ flutter {
133133
dependencies {
134134
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
135135

136+
// For splash screen Theme.SplashScreen
137+
implementation "androidx.core:core-splashscreen:1.2.0-rc01"
138+
136139
// Required by flutter_local_notifications
137140
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
141+
138142
}
139143

140144
// Required by FDroid version policy.

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
android:name=".MainActivity"
1111
android:exported="true"
1212
android:launchMode="singleTop"
13-
android:theme="@style/LaunchTheme"
13+
android:theme="@style/Theme.TsdmClient.Launcher"
1414
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1515
android:hardwareAccelerated="true"
1616
android:windowSoftInputMode="adjustResize">
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<vector xmlns:android="http://schemas.android.com/apk/res/android"
2+
android:width="108dp"
3+
android:height="108dp"
4+
android:viewportWidth="108"
5+
android:viewportHeight="108">
6+
<group
7+
android:scaleX="0.7"
8+
android:scaleY="0.7"
9+
android:translateX="14"
10+
android:translateY="16">
11+
12+
<path
13+
android:fillColor="@color/icCls1"
14+
android:pathData="M 50.193041,54.002943 70.171747,82.535496 A 6.966362,6.966362 0 0 1 68.46098,92.23774 v 0 A 6.966362,6.966362 0 0 1 58.758727,90.526977 L 38.780021,61.994426 Z" />
15+
<path
16+
android:fillColor="@color/icCls2"
17+
android:pathData="M 32.960826,37.493425 63.395545,16.182804 a 9.2884827,9.2884827 0 0 1 12.936335,2.281022 v 0 A 9.2884827,9.2884827 0 0 1 74.050855,31.400162 L 36.007457,58.038438 30.679801,50.429756 a 9.2884827,9.2884827 0 0 1 2.281025,-12.936331 z" />
18+
<path
19+
android:fillColor="@color/icCls3"
20+
android:pathData="M 38.699596,61.880761 67.232147,41.902053 a 6.966362,6.966362 0 0 1 9.702251,1.710771 v 0 a 6.966362,6.966362 0 0 1 -1.71077,9.70225 L 46.691079,73.293782 Z" />
21+
<path
22+
android:fillColor="@color/icCls4"
23+
android:pathData="m 49.381236,77.133901 21.39865,-14.983495 a 5.223843,5.223843 0 0 1 7.275394,1.282852 v 0 a 5.223843,5.223843 0 0 1 -1.282847,7.275391 L 55.37378,85.692152 Z" />
24+
25+
</group>
26+
</vector>

android/app/src/main/res/drawable-v21/launch_background.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.

android/app/src/main/res/drawable/launch_background.xml

Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
3+
<background android:drawable="@color/ic_launcher_background" />
4+
<foreground android:drawable="@drawable/ic_launcher_foreground" />
5+
<monochrome android:drawable="@drawable/ic_launcher_foreground" />
6+
</adaptive-icon>
335 Bytes
311 Bytes
115 Bytes
207 Bytes

0 commit comments

Comments
 (0)