all: cleanup

Routine code inspection and cleanup, this time with the new lints from
android studio giraffe.
This commit is contained in:
Alexander Capehart
2023-07-25 20:45:30 -06:00
parent 842677fab4
commit d6d1071535
49 changed files with 98 additions and 168 deletions
+2 -2
View File
@@ -23,7 +23,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/spacing_medium"
android:text="Sort By"
android:text="@string/lbl_sort_mode"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -47,7 +47,7 @@
style="@style/Widget.Auxio.TextView.Header"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="Direction"
android:text="@string/lbl_sort_direction"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.button.MaterialButtonToggleGroup
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="?attr/colorSurface"
@@ -28,7 +27,6 @@
android:id="@android:id/list_container"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior"
tools:targetApi="n" />
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
+1 -2
View File
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/action_play"
android:title="@string/lbl_play"
-6
View File
@@ -469,10 +469,4 @@
android:name="parcel"
app:argType="org.oxycblt.auxio.list.Menu$ForPlaylist$Parcel" />
</dialog>
<dialog
android:id="@+id/sort_dialog"
android:name="org.oxycblt.auxio.list.sort.SortDialog"
android:label="sort_dialog"
tools:layout="@layout/dialog_sort" />
</navigation>
+1 -1
View File
@@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<resources></resources>
<resources />
+1 -1
View File
@@ -172,7 +172,7 @@
<string name="set_separators">मल्टी-मूल्य विभाजक</string>
<string name="fmt_lib_genre_count">लोड की गई शैलियाँ: %d</string>
<string name="fmt_lib_album_count">लोड किए गए एल्बम: %d</string>
<string name="fmt_indexing">आपकी संगीत लाइब्रेरी लोड कर रहे हैं... (%1$d/%2$d)</string>
<string name="fmt_indexing">आपकी संगीत लाइब्रेरी लोड कर रहे हैं… (%1$d/%2$d)</string>
<string name="fmt_bitrate">%d kbps</string>
<string name="lng_indexing">आपकी संगीत लाइब्रेरी लोड कर रहे हैं…</string>
<string name="lng_playlist_created">प्लेलिस्ट बनाई गई</string>
-1
View File
@@ -161,7 +161,6 @@
<integer name="play_song_from_album">0xA120</integer>
<integer name="play_song_from_artist">0xA121</integer>
<integer name="play_song_from_genre">0xA122</integer>
<integer name="play_song_from_playlist">0xA123</integer>
<integer name="play_song_by_itself">0xA124</integer>
<integer name="replay_gain_track">0xA111</integer>
+2
View File
@@ -104,6 +104,8 @@
<string name="lbl_date_added">Date added</string>
<string name="lbl_sort">Sort</string>
<string name="lbl_sort_mode">Sort by</string>
<string name="lbl_sort_direction">Direction</string>
<string name="lbl_sort_asc">Ascending</string>
<string name="lbl_sort_dsc">Descending</string>