diff --git a/app/src/main/java/org/oxycblt/auxio/accent/AccentAdapter.kt b/app/src/main/java/org/oxycblt/auxio/accent/AccentAdapter.kt index a73827f93..594d0ba79 100644 --- a/app/src/main/java/org/oxycblt/auxio/accent/AccentAdapter.kt +++ b/app/src/main/java/org/oxycblt/auxio/accent/AccentAdapter.kt @@ -31,7 +31,6 @@ import org.oxycblt.auxio.util.resolveStateList * @author OxygenCobalt * @param onSelect What to do when an accent is selected. */ - class AccentAdapter( private var curAccent: Accent, private val onSelect: (accent: Accent) -> Unit diff --git a/app/src/main/java/org/oxycblt/auxio/music/MusicLoader.kt b/app/src/main/java/org/oxycblt/auxio/music/MusicLoader.kt index cb94d5c7d..6642537f5 100644 --- a/app/src/main/java/org/oxycblt/auxio/music/MusicLoader.kt +++ b/app/src/main/java/org/oxycblt/auxio/music/MusicLoader.kt @@ -61,13 +61,12 @@ import org.oxycblt.auxio.util.logD * table, so we have to go for the less efficent "make a big query on all the songs lol" method * so that songs don't end up fragmented across artists. Pretty much every OEM has added some * extension or quirk to MediaStore that I cannot reproduce, with some OEMs (COUGHSAMSUNGCOUGH) - * crippling the normal tables so that you're railroaded into their ad-infested music app. - * The way I do blacklisting relies on a deprecated method, and the supposedly "modern" method - * is SLOWER and causes even more problems since I have to manage databases across version - * boundaries. Sometimes music will have a deformed clone that I can't filter out, sometimes - * Genres will just break for no reason, sometimes this spaghetti parser just completely breaks - * down and is unable to get any metadata. Everything is broken in it's own special unique way and - * I absolutely hate it. + * crippling the normal tables so that you're railroaded into their music app. The way I do + * blacklisting relies on a deprecated method, and the supposedly "modern" method is SLOWER and + * causes even more problems since I have to manage databases across version boundaries. Sometimes + * music will have a deformed clone that I can't filter out, sometimes Genres will just break for no + * reason, sometimes this spaghetti parser just completely breaks down and is unable to get any + * metadata. Everything is broken in it's own special unique way and I absolutely hate it. * * Is there anything we can do about it? No. Google has routinely shut down issues that begged google * to fix glaring issues with MediaStore or to just take the API behind the woodshed and shoot it. diff --git a/app/src/main/res/color/overlay_text_highlight.xml b/app/src/main/res/color/overlay_text_highlight.xml new file mode 100644 index 000000000..240c6e0a3 --- /dev/null +++ b/app/src/main/res/color/overlay_text_highlight.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/color/overlay_text_highlight_inverse.xml b/app/src/main/res/color/overlay_text_highlight_inverse.xml new file mode 100644 index 000000000..09cc81bc3 --- /dev/null +++ b/app/src/main/res/color/overlay_text_highlight_inverse.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_search.xml b/app/src/main/res/layout/fragment_search.xml index e54a825da..8c98df0a3 100644 --- a/app/src/main/res/layout/fragment_search.xml +++ b/app/src/main/res/layout/fragment_search.xml @@ -18,36 +18,33 @@ + app:menu="@menu/menu_search"> - - - + app:hintEnabled="false" + app:endIconContentDescription="@string/desc_clear_search" + app:endIconDrawable="@drawable/ic_close" + app:endIconMode="clear_text" + app:endIconTint="?attr/colorControlNormal" + app:errorEnabled="false"> + + + + + + - ?attr/colorOnPrimaryContainer @color/surface + ?attr/colorPrimary @color/control @color/overlay_selection ?attr/colorPrimary - ?attr/colorPrimary - > + @color/overlay_text_highlight + @color/overlay_text_highlight_inverse +