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

customize Launch background

parent d357151d
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme.Launch">
<activity android:name=".base.RoomParkMainActivity"> <activity android:name=".base.RoomParkMainActivity">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />
......
...@@ -13,6 +13,7 @@ class RoomParkMainActivity : AppCompatActivity() { ...@@ -13,6 +13,7 @@ class RoomParkMainActivity : AppCompatActivity() {
private val entryDate : StartUpData by currentScope.inject() private val entryDate : StartUpData by currentScope.inject()
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
setTheme(R.style.AppTheme)
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main) setContentView(R.layout.activity_main)
} }
......
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
<com.google.android.material.textview.MaterialTextView <com.google.android.material.textview.MaterialTextView
style="@style/Default_TextView.Cancel_Text" style="@style/Default_TextView.Cancel_Text"
android:text="СМЕНИТЬ АККАУНТ"
android:layout_margin="32dp" android:layout_margin="32dp"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
......
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
<item name="materialCardViewStyle">@style/Widget.Biganto.MaterialCardView</item> <item name="materialCardViewStyle">@style/Widget.Biganto.MaterialCardView</item>
<item name="switchStyle">@style/Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle</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>
<style name="Widget.MaterialComponents.CompoundButton.Switch.BellSwitchStyle" > <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