Fix splash screen theme

This commit is contained in:
William Brawner 2020-07-27 16:36:59 -07:00
parent 48314efe66
commit 8583462d6f
3 changed files with 4 additions and 8 deletions

View file

@ -86,7 +86,6 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/action_login"
app:backgroundTint="@color/colorPrimary"
app:cornerRadius="16dp" />
<com.google.android.material.button.MaterialButton
@ -96,7 +95,6 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/title_forgot_password"
android:textColor="@color/colorPrimary"
app:cornerRadius="16dp" />
<com.google.android.material.button.MaterialButton
@ -106,9 +104,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/title_register"
android:textColor="@color/colorPrimary"
app:cornerRadius="16dp"
app:strokeColor="@color/colorPrimary" />
app:cornerRadius="16dp" />
<ProgressBar
android:id="@+id/progressBar"

View file

@ -21,6 +21,9 @@
<style name="AppTheme" parent="BaseTheme" />
<style name="SplashTheme" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="android:windowBackground">@drawable/bg_splash</item>
<item name="android:windowTranslucentNavigation">true</item>
<item name="android:windowTranslucentStatus">true</item>

View file

@ -1,3 +0,0 @@
<resources>
<string name="app_name">Common</string>
</resources>