Skip to content

Commit

Permalink
better splash screen
Browse files Browse the repository at this point in the history
  • Loading branch information
v-almonacid committed Mar 6, 2024
1 parent ff3d438 commit d30472a
Show file tree
Hide file tree
Showing 22 changed files with 24 additions and 43 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="106"
android:viewportHeight="93">
<group android:scaleX="0.38"
android:scaleY="0.33339623"
android:translateX="32.86"
android:translateY="30.997076">
<path
android:pathData="M82.56,40.92C74.3,55.07 66.04,69.22 57.75,83.37C55.98,86.41 57.03,90.31 60.13,92.06C63.21,93.81 67.17,92.77 68.94,89.7C72.45,83.69 75.94,77.71 79.46,71.7C81.23,68.66 85.18,67.6 88.26,69.34C91.34,71.09 92.42,75 90.65,78.04C87.77,82.96 84.9,87.88 82.03,92.82C86.34,92.82 96.06,93.73 100.14,91.43C105.1,88.61 106.79,82.4 103.94,77.51C96.81,65.31 89.7,53.09 82.56,40.9V40.92ZM39.09,89.7C37.32,92.75 33.36,93.81 30.28,92.06C27.2,90.31 26.13,86.41 27.9,83.37C31.77,76.72 35.65,70.08 39.55,63.44C41.32,60.39 40.27,56.49 37.16,54.74C34.08,52.99 30.13,54.03 28.36,57.1C21.46,68.89 14.58,80.7 7.67,92.49C3.26,91.33 0,87.35 0,82.6C0,80.4 0.72,78.35 1.9,76.67C15.86,52.79 29.77,28.96 43.71,5.1C46.56,0.21 52.9,-1.44 57.82,1.37C59.49,2.34 60.77,3.65 61.65,5.2L75.07,28.17C63.06,48.71 51,69.22 39.04,89.7H39.09Z"
android:fillColor="#ffffff"/>
</group>
</vector>
Original file line number Diff line number Diff line change
@@ -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_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -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"/>
<foreground android:drawable="@drawable/ic_launcher_foreground"/>
</adaptive-icon>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/frontend/android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="primaryDark">#000000</color>
<color name="secondary">#FAA202</color>
<color name="alphaBackground">#000000</color>
<color name="alphaSecondary">#FAA202</color>
<color name="ic_launcher_background">#000000</color>
</resources>
9 changes: 5 additions & 4 deletions packages/frontend/android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,20 @@
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:background">@color/alphaBackground</item>
</style>

<style name="AppTheme.NoActionBar" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
<item name="android:background">@color/primaryDark</item>
<item name="android:background">@color/alphaBackground</item>
</style>


<style name="AppTheme.NoActionBarLaunch" parent="Theme.SplashScreen">
<item name="windowSplashScreenBackground">@color/secondary</item>
<!-- <item name="windowSplashScreenAnimatedIcon">@mipmap/ic_launcher_foreground</item>-->
<item name="windowSplashScreenAnimatedIcon">@drawable/splash</item>
<item name="windowSplashScreenBackground">@color/alphaSecondary</item>
<!-- <item name="windowSplashScreenAnimatedIcon">@mipmap/ic_launcher</item>-->
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
</style>

</resources>

0 comments on commit d30472a

Please sign in to comment.