all: fix lints

Fix lints that have accumulated over time.

Apparently Android Studio just...stopped using lints. For no reason. I
had to upgrade to the beta version to actually get lints.
This commit is contained in:
OxygenCobalt
2022-08-04 13:14:21 -06:00
parent f6429a878a
commit 4af45031b0
46 changed files with 82 additions and 124 deletions
-6
View File
@@ -9,11 +9,6 @@
<dimen name="spacing_large">24dp</dimen>
<dimen name="spacing_huge">32dp</dimen>
<dimen name="spacing_tiny_inv">-4dp</dimen>
<dimen name="spacing_small_inv">-8dp</dimen>
<dimen name="spacing_medium_icon">6dp</dimen>
<!-- Size Namespace | Width & Heights for UI elements -->
<dimen name="size_cover_compact">48dp</dimen>
<dimen name="size_cover_normal">56dp</dimen>
@@ -48,7 +43,6 @@
<dimen name="fast_scroll_thumb_touch_target_size">16dp</dimen>
<dimen name="slider_thumb_radius">6dp</dimen>
<dimen name="slider_halo_radius">16dp</dimen>
<dimen name="recycler_fab_space_normal">88dp</dimen>
<dimen name="recycler_fab_space_large">128dp</dimen>
-3
View File
@@ -81,8 +81,6 @@
<string name="lbl_shuffle">Shuffle</string>
<string name="lbl_queue">Queue</string>
<string name="lbl_next_up">Next up</string>
<string name="lbl_later">Later</string>
<string name="lbl_play_next">Play next</string>
<string name="lbl_queue_add">Add to queue</string>
<string name="lbl_queue_added">Added to queue</string>
@@ -214,7 +212,6 @@
<!-- No folders in the "Music Folders" setting -->
<string name="err_no_dirs">No Folders</string>
<string name="err_bad_dir">This folder is not supported</string>
<string name="err_too_small">Auxio does not support this window size</string>
<!-- Referring to playback state -->
<string name="err_did_not_restore">No state could be restored</string>
@@ -90,12 +90,4 @@
<item name="android:background">@drawable/ui_remote_fab_bg</item>
<item name="android:tint">?attr/colorOnPrimary</item>
</style>
<!-- Widget panel -->
<style name="Widget.Auxio.AppWidget.Panel" parent="">
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_width">match_parent</item>
<item name="android:padding">@dimen/spacing_medium</item>
<item name="android:orientation">vertical</item>
</style>
</resources>
+3 -3
View File
@@ -2,14 +2,14 @@
<resources>
<!-- Master parent theme -->
<style name="Theme.Auxio" parent="Theme.Material3.DynamicColors.DayNight" />
<!-- Theme that implements nicer selector attributes not supported on lollipop-->
<!-- Adds nicer selector attributes not supported on lollipop-->
<style name="Theme.Auxio.V23" parent="Theme.Auxio" />
<!-- Template theme that handles edge-to-edge on other styles variants -->
<!-- Handles edge-to-edge on other styles variants -->
<style name="Theme.Auxio.V27" parent="Theme.Auxio.V23">
<item name="android:statusBarColor">@color/chrome_translucent</item>
<item name="android:navigationBarColor">@color/chrome_translucent</item>
</style>
<!-- Adds fully transparent system bars -->
<style name="Theme.Auxio.V29" parent="Theme.Auxio.V27" />
<!-- Base theme -->