Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed the Android 12+ devices default splash screen. #11

Merged
merged 1 commit into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README-CHANGES.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<c:release date="2023-10-27T00:00:00+00:00" is-open="false" ticket-system="org.thepalaceproject.jira" version="1.0.0">
<c:changes/>
</c:release>
<c:release date="2023-10-27T16:37:29+00:00" is-open="true" ticket-system="org.thepalaceproject.jira" version="1.1.0">
<c:changes/>
<c:release date="2023-10-30T12:26:04+00:00" is-open="true" ticket-system="org.thepalaceproject.jira" version="1.1.0">
<c:changes>
<c:change date="2023-10-30T12:26:04+00:00" summary="Removed the Android 12+ devices default splash screen."/>
</c:changes>
</c:release>
</c:releases>
<c:ticket-systems>
Expand Down
1 change: 1 addition & 0 deletions core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies {
implementation(libs.androidx.core.common)
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.core.runtime)
implementation(libs.androidx.core.splashscreen)
implementation(libs.androidx.cursoradapter)
implementation(libs.androidx.customview)
implementation(libs.androidx.customview.poolingcontainer)
Expand Down
7 changes: 7 additions & 0 deletions core/src/main/res/values-v31/themes.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>

<resources>
<style name="PalaceTheme" parent="PalaceTheme.WithoutActionBar">
<item name="android:windowIsTranslucent">true</item>

<!-- The theme to set after the default splash screen is dismissed-->
<item name="postSplashScreenTheme">@style/PalaceTheme.WithoutActionBar</item>
</style>

<style name="PalaceTheme.WithoutActionBar" parent="Theme.Material3.DayNight.NoActionBar">
<item name="android:windowBackground">@color/PalaceScreenBackgroundColor</item>
<item name="android:fontFamily">@font/open_sans_regular</item>
Expand Down
2 changes: 2 additions & 0 deletions core/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

<resources>

<style name="PalaceTheme" parent="PalaceTheme.WithoutActionBar" />

<style name="PalaceTheme.WithActionBar" parent="Theme.Material3.DayNight">
<item name="android:windowBackground">@color/PalaceScreenBackgroundColor</item>
<item name="android:fontFamily">@font/open_sans_regular</item>
Expand Down
1 change: 1 addition & 0 deletions sandbox/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dependencies {
implementation(libs.androidx.core.common)
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.core.runtime)
implementation(libs.androidx.core.splashscreen)
implementation(libs.androidx.cursoradapter)
implementation(libs.androidx.customview)
implementation(libs.androidx.customview.poolingcontainer)
Expand Down