search: collapse uis into single bar

Merge the search view and the redundant appbar into a single view. Also
fix another Material3 regression that stemmed from a bad text highlight
color.
This commit is contained in:
OxygenCobalt
2021-10-12 18:29:54 -06:00
parent 2d5c438c58
commit 7ef10fa4f8
6 changed files with 41 additions and 36 deletions
@@ -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
@@ -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.