Fixed Splash screen issues
This commit is contained in:
parent
2ef5a5903d
commit
33a0d113b8
5 changed files with 5 additions and 4 deletions
|
@ -39,6 +39,7 @@
|
|||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.RetroMusic.FollowSystem"
|
||||
android:usesCleartextTraffic="true"
|
||||
android:requestLegacyExternalStorage="true"
|
||||
tools:targetApi="m">
|
||||
<activity
|
||||
android:name=".activities.MainActivity"
|
||||
|
|
|
@ -109,7 +109,7 @@ class PlaylistsFragment :
|
|||
7 -> gridSizeMenu.findItem(R.id.action_grid_size_7).isChecked = true
|
||||
8 -> gridSizeMenu.findItem(R.id.action_grid_size_8).isChecked = true
|
||||
}
|
||||
val gridSize = if (RetroUtil.isLandscape) 4 else 2
|
||||
val gridSize = if (RetroUtil.isLandscape) 4 else 3
|
||||
if (gridSize < 8) {
|
||||
gridSizeMenu.findItem(R.id.action_grid_size_8).isVisible = false
|
||||
}
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
android:id="@+id/container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
android:orientation="vertical"
|
||||
android:paddingBottom="@dimen/mini_player_height">
|
||||
|
||||
<com.google.android.material.card.MaterialCardView
|
||||
android:id="@+id/buyProContainer"
|
||||
|
|
|
@ -20,6 +20,5 @@
|
|||
<style name="Theme.RetroMusic.SplashScreen" parent="Theme.SplashScreen">
|
||||
<item name="android:windowSplashScreenAnimatedIcon">@drawable/avd_splash</item>
|
||||
<item name="android:windowSplashScreenAnimationDuration">1000</item>
|
||||
<item name="postSplashScreenTheme">@style/Theme.RetroMusic.FollowSystem</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
|
|
@ -123,7 +123,7 @@
|
|||
<item name="cornerSize">0dp</item>
|
||||
</style>
|
||||
|
||||
<style name="SplashTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<style name="Theme.RetroMusic.SplashScreen" parent="Theme.AppCompat.DayNight.NoActionBar">
|
||||
<item name="android:windowBackground">@drawable/splash</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
</style>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue