all: cleanup code

Clean up code and fits a bunch of miscellaneous issues.
This commit is contained in:
OxygenCobalt
2021-11-24 20:22:30 -07:00
parent 6b54d4b783
commit 4ccaa7c4bb
51 changed files with 192 additions and 289 deletions
-2
View File
@@ -5,8 +5,6 @@
<dimen name="spacing_medium">16dp</dimen>
<dimen name="spacing_mid_large">24dp</dimen>
<dimen name="spacing_large">32dp</dimen>
<dimen name="spacing_huge">48dp</dimen>
<dimen name="spacing_insane">128dp</dimen>
<!-- Size Namespace | Width & Heights for UI elements -->
<dimen name="size_btn_small">48dp</dimen>
@@ -7,5 +7,4 @@
<string name="fmt_two" translatable="false">%1$s • %2$s</string>
<string name="fmt_three" translatable="false">%1$s • %2$s • %3$s</string>
<string name="fmt_counts" translatable="false">%1$s, %2$s</string>
<string name="fmt_accent_desc" translatable="false">&lt;b>%1$s&lt;/b>:&#160;%2$s</string>
</resources>
-2
View File
@@ -24,7 +24,6 @@
<string name="lbl_sort">Sort</string>
<string name="lbl_sort_name">Name</string>
<string name="lbl_sort_asc">Ascending</string>
<string name="lbl_sort_dsc">Descending</string>
<string name="lbl_sort_artist">Artist</string>
<string name="lbl_sort_album">Album</string>
<string name="lbl_sort_year">Year</string>
@@ -35,7 +34,6 @@
<string name="lbl_play_album">Play from album</string>
<string name="lbl_play_artist">Play from artist</string>
<string name="lbl_play_genre">Play from genre</string>
<string name="lbl_playback">Now Playing</string>
<string name="lbl_queue">Queue</string>
<string name="lbl_queue_add">Add to queue</string>
+1 -2
View File
@@ -161,7 +161,7 @@
<item name="android:textAppearance">@style/TextAppearance.Auxio.LabelLarger</item>
</style>
<style name="Widget.Auxio.FloatingActionButton.PlayPause" parent="Widget.Material3.FloatingActionButton.Primary">
<style name="Widget.Auxio.FloatingActionButton.PlayPause" parent="Widget.Material3.FloatingActionButton.Secondary">
<item name="maxImageSize">@dimen/size_play_fab_icon</item>
<item name="fabCustomSize">@dimen/size_btn_large</item>
@@ -171,7 +171,6 @@
<item name="android:elevation">0dp</item>
<item name="elevation">0dp</item>
<item name="materialThemeOverlay">@style/ThemeOverlay.Auxio.FloatingActionButton.PlayPause</item>
<item name="shapeAppearanceOverlay">@style/ShapeAppearance.Auxio.FloatingActionButton.PlayPause</item>
</style>
-7
View File
@@ -483,11 +483,4 @@
<item name="colorOnSurfaceVariant">@color/grey_on_surface_variant</item>
</style>
<style name="Theme.Auxio.Neutral" parent="Theme.Auxio.App">
<item name="colorPrimary">?attr/colorControlNormal</item>
<item name="colorOnPrimary">?attr/colorControlNormal</item>
<item name="colorPrimaryInverse">?attr/colorControlNormal</item>
<item name="colorPrimaryContainer">?attr/colorControlNormal</item>
<item name="colorOnPrimaryContainer">?attr/colorControlNormal</item>
</style>
</resources>