Fix splash screen theme
This commit is contained in:
parent
48314efe66
commit
8583462d6f
3 changed files with 4 additions and 8 deletions
|
@ -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"
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
<resources>
|
||||
<string name="app_name">Common</string>
|
||||
</resources>
|
Loading…
Reference in a new issue