Colton Idle
04/14/2022, 10:49 PM<style name="Theme.My.App" parent="android:Theme.Material.NoActionBar" />
I think Chris Banes was talking about this sort of stuff last, but yeah. Just curious if theres a way to use non-appcompat theme (so no appcompat dependency) but have a DayNight theme?
because I don't want to bring in appcompat, but it looks like Theme.Material.* doesn't have any daynight variation. I thinkandrew
04/14/2022, 11:02 PMColton Idle
04/14/2022, 11:07 PMandrew
04/14/2022, 11:07 PM<style name="Theme.RealPage.Raul.Base" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="android:windowBackground">#FFFFFFFF</item>
<item name="android:windowLightStatusBar" tools:targetApi="m">true</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">true</item>
</style>
<style name="Theme.RealPage.Raul" parent="Theme.RealPage.Raul.Base">
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
<style name="Theme.RealPage.Raul.Splash" parent="Theme.SplashScreen">
<item name="postSplashScreenTheme">@style/Theme.RealPage.Raul</item>
<item name="windowSplashScreenBackground">#FFFFFFFF</item>
<item name="android:windowSplashScreenBrandingImage" tools:targetApi="s">@drawable/ui_splash_realpage_logo</item>
<item name="android:statusBarColor">@android:color/transparent</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:windowLightStatusBar" tools:targetApi="m">true</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">true</item>
</style>
<style name="Theme.RealPage.Raul.Base" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="android:windowBackground">#FF202737</item>
<item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item>
</style>
<style name="Theme.RealPage.Raul.Splash" parent="Theme.SplashScreen">
<item name="postSplashScreenTheme">@style/Theme.RealPage.Raul</item>
<item name="windowSplashScreenBackground">#FF202737</item>
<item name="android:windowSplashScreenBrandingImage" tools:targetApi="s">@drawable/ui_splash_realpage_logo</item>
<item name="android:windowLightStatusBar" tools:targetApi="m">false</item>
<item name="android:windowLightNavigationBar" tools:targetApi="o_mr1">false</item>
</style>
Colton Idle
04/14/2022, 11:09 PMandrew
04/14/2022, 11:09 PMColton Idle
04/14/2022, 11:10 PMandrew
04/14/2022, 11:11 PMColton Idle
04/14/2022, 11:11 PMandrew
04/14/2022, 11:12 PMChris Sinco [G]
04/15/2022, 12:47 AMColton Idle
04/15/2022, 12:49 AMandrew
04/15/2022, 12:50 AMAlbert Chang
04/15/2022, 2:29 AMColton Idle
04/15/2022, 2:42 AMAlbert Chang
04/15/2022, 2:45 AMColton Idle
04/15/2022, 5:04 PMandroid:
means it comes from the platform?andrew
04/15/2022, 8:11 PMColton Idle
04/19/2022, 3:49 AM