Skip to content

Commit

Permalink
Cleaner style system
Browse files Browse the repository at this point in the history
  • Loading branch information
harshad1 committed Jul 7, 2024
1 parent d1f9313 commit cebf97f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 18 deletions.
11 changes: 0 additions & 11 deletions app/src/main/res/values-v21/styles.xml

This file was deleted.

6 changes: 0 additions & 6 deletions app/src/main/res/values-v28/styles.xml

This file was deleted.

12 changes: 11 additions & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
#########################################################*/
-->
<resources xmlns:android="http://schemas.android.com/apk/res/android">
<resources xmlns:tools="http://schemas.android.com/tools" xmlns:android="http://schemas.android.com/apk/res/android">

<style name="AppTheme.Unified.StartupFlash" parent="AppTheme.Unified">
<item name="android:windowBackground">@color/dark__background</item>
Expand All @@ -29,6 +29,16 @@
<item name="colorAccent">@color/accent</item>
<item name="android:windowBackground">@color/background</item>
<item name="dialogCornerRadius">@dimen/dialog_corner_radius</item>

<!-- Android V21 options; ignore IDE warnings -->
<item name="android:windowContentTransitions" tools:targetApi="lollipop">true</item>
<item name="android:windowAllowEnterTransitionOverlap" tools:targetApi="lollipop">true</item>
<item name="android:windowAllowReturnTransitionOverlap" tools:targetApi="lollipop">true</item>
<item name="android:windowSharedElementEnterTransition" tools:targetApi="lollipop">@android:transition/move</item>
<item name="android:windowSharedElementExitTransition" tools:targetApi="lollipop">@android:transition/move</item>

<!-- Android V28 options; ignore IDE warnings -->
<item name="android:dialogCornerRadius" tools:targetApi="p">@dimen/dialog_corner_radius</item>
</style>

<style name="AppTheme.PreferenceTheme" parent="PreferenceThemeOverlay.v14.Material">
Expand Down

0 comments on commit cebf97f

Please sign in to comment.