about: redesign ui
Completely redesign the about UI to remove its dependency on bottomsheetdialogfragment. That object is such a hassle to deal with an is the epitome of everything wrong with this horrible platform. This design will enable further about extensions in the future.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
<color name="control_color">#202020</color>
|
||||
<color name="nav_color">#01fafafa</color>
|
||||
|
||||
|
||||
<!--
|
||||
Base color set derived from Music Player GO.
|
||||
https://github.com/enricocid/Music-Player-GO
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
<dimen name="size_scroll_thumb">48dp</dimen>
|
||||
<dimen name="size_clear">32dp</dimen>
|
||||
|
||||
<dimen name="size_app_icon">60dp</dimen>
|
||||
<dimen name="size_app_icon">50dp</dimen>
|
||||
|
||||
<!-- Text Size Namespace | Text Sizes -->
|
||||
<dimen name="text_size_min">10sp</dimen>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:ignore="MissingTranslation">
|
||||
<!-- Info namespace | App labels -->
|
||||
<string name="info_app_desc">A simple, rational music player for android.</string>
|
||||
<string name="info_channel_name">Music Playback</string>
|
||||
@@ -155,6 +156,7 @@
|
||||
<string name="format_next_from">Next From: %s</string>
|
||||
<string name="format_songs_loaded">Songs loaded: %d</string>
|
||||
|
||||
|
||||
<plurals name="format_song_count">
|
||||
<item quantity="one">%d Song</item>
|
||||
<item quantity="other">%d Songs</item>
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<!-- Template theme that handles edge-to-edge on other styles variants -->
|
||||
<style name="Theme.Template" parent="Theme.Master" />
|
||||
|
||||
<!-- Refactor styles again to move more stuff into this -->
|
||||
|
||||
<!-- Base theme -->
|
||||
<style name="Theme.Base" parent="Theme.Template">
|
||||
<item name="android:windowBackground">?attr/colorSurface</item>
|
||||
@@ -205,18 +207,6 @@
|
||||
<item name="android:background">@drawable/ui_small_unbounded_ripple</item>
|
||||
</style>
|
||||
|
||||
<!-- Bottomsheet style -->
|
||||
<style name="Theme.BottomSheetFix" parent="@style/Theme.Design.BottomSheetDialog">
|
||||
<item name="android:windowIsFloating">false</item>
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="bottomSheetStyle">@style/Theme.BottomSheetHeightFix</item>
|
||||
</style>
|
||||
|
||||
<!-- Fix to make the bottomsheet go to full height instantly. -->
|
||||
<style name="Theme.BottomSheetHeightFix" parent="Widget.Design.BottomSheet.Modal">
|
||||
<item name="behavior_peekHeight">500dp</item>
|
||||
</style>
|
||||
|
||||
<!-- Base style for the material buttons -->
|
||||
<style name="Widget.MaterialComponents.Button.Base" parent="@style/Widget.MaterialComponents.Button.TextButton">
|
||||
<item name="android:layout_width">0dp</item>
|
||||
|
||||
Reference in New Issue
Block a user