all: refactor utils

Do the final utility refactor, placing custom views into a .ui
submodule and the general utils into a new .util module. This
system seems to stick well.
This commit is contained in:
OxygenCobalt
2021-08-23 17:05:42 -06:00
parent 9aa2c99be4
commit 5fe01777d0
69 changed files with 476 additions and 483 deletions
@@ -2,7 +2,7 @@
<layout 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"
tools:context=".recycler.HeaderViewHolder">
tools:context=".ui.HeaderViewHolder">
<data>
+1 -1
View File
@@ -2,7 +2,7 @@
<layout 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"
tools:context=".recycler.AlbumViewHolder">
tools:context=".ui.AlbumViewHolder">
<data>
+1 -1
View File
@@ -2,7 +2,7 @@
<layout 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"
tools:context=".recycler.ArtistViewHolder">
tools:context=".ui.ArtistViewHolder">
<data>
+1 -1
View File
@@ -2,7 +2,7 @@
<layout 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"
tools:context=".recycler.SongViewHolder">
tools:context=".ui.SongViewHolder">
<data>
+1 -1
View File
@@ -2,7 +2,7 @@
<layout 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"
tools:context=".recycler.GenreViewHolder">
tools:context=".ui.GenreViewHolder">
<data>
+1 -1
View File
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
tools:context=".recycler.HeaderViewHolder">
tools:context=".ui.HeaderViewHolder">
<data>
+1 -1
View File
@@ -2,7 +2,7 @@
<layout 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"
tools:context=".recycler.SongViewHolder">
tools:context=".ui.SongViewHolder">
<data>
+2 -2
View File
@@ -4,7 +4,7 @@
app:layout="@layout/item_header"
app:title="@string/set_ui">
<org.oxycblt.auxio.settings.ui.IntListPreference
<org.oxycblt.auxio.settings.IntListPreference
app:defaultValue="@integer/theme_auto"
app:entries="@array/entires_theme"
app:entryValues="@array/values_theme"
@@ -93,7 +93,7 @@
app:layout="@layout/item_header"
app:title="@string/set_behavior">
<org.oxycblt.auxio.settings.ui.IntListPreference
<org.oxycblt.auxio.settings.IntListPreference
app:defaultValue="@integer/play_mode_songs"
app:entries="@array/entries_song_playback_mode"
app:entryValues="@array/values_song_playback_mode"