Commit 80a64b05 authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

customize Launch background

parent d357151d
......@@ -9,7 +9,7 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
android:theme="@style/AppTheme.Launch">
<activity android:name=".base.RoomParkMainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
......
......@@ -13,6 +13,7 @@ class RoomParkMainActivity : AppCompatActivity() {
private val entryDate : StartUpData by currentScope.inject()
override fun onCreate(savedInstanceState: Bundle?) {
setTheme(R.style.AppTheme)
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
}
......
......@@ -129,6 +129,7 @@
<com.google.android.material.textview.MaterialTextView
style="@style/Default_TextView.Cancel_Text"
android:text="СМЕНИТЬ АККАУНТ"
android:layout_margin="32dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
......
......@@ -12,8 +12,10 @@
<item name="materialCardViewStyle">@style/Widget.Biganto.MaterialCardView</item>
<item name="switchStyle">@style/Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle</item>
</style>
<style name="AppTheme.Launch">
<item name="android:windowBackground">@color/colorAccent</item>
</style>
<style name="Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle" >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment