style: customize v31 splash screen

Remove the icon background from the Android 12 splash screen, making it
alot more cleaner than it was before.
This commit is contained in:
OxygenCobalt
2021-08-07 20:10:33 -06:00
parent 64c9a4a4a7
commit 2f0df83cb2
6 changed files with 15 additions and 14 deletions
@@ -68,6 +68,7 @@
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:fontFamily">@font/inter_semibold</item>
<item name="android:textColor">?attr/colorAccent</item>
<item name="android:textAppearance">?android:attr/textAppearanceButton</item>
<item name="rippleColor">?android:attr/colorControlHighlight</item>
<item name="cornerRadius">0dp</item>
+4 -2
View File
@@ -3,10 +3,12 @@
<!-- Master parent theme based off of Theme.MaterialComponents.DayNight.NoActionBar.Bridge -->
<style name="Theme.Master" parent="Theme.MaterialComponents.DayNight.NoActionBar.Bridge" />
<!-- Template theme that handles edge-to-edge on other styles variants -->
<style name="Theme.Template" parent="Theme.Master" />
<style name="Theme.Edge" parent="Theme.Master" />
<!-- Android-12 Splashscreen config -->
<style name="Theme.Splash" parent="Theme.Edge" />
<!-- Base theme -->
<style name="Theme.Base" parent="Theme.Template">
<style name="Theme.Base" parent="Theme.Splash">
<!-- Colors -->
<item name="colorSurface">@color/surface_color</item>
<item name="colorAccent">@color/design_default_color_primary</item>