ui: become more material

Give up and add more material elements such as neutral toolbar colors
and rounded corners. This is largely for stylistic cohesion. I will
keep rounded corners to a minimum though, rounding album covers is a
crime against humanitity.
This commit is contained in:
OxygenCobalt
2021-09-24 19:46:42 -06:00
parent b2ebd92d2a
commit 68b8ff0798
10 changed files with 30 additions and 36 deletions
@@ -50,6 +50,13 @@ import org.oxycblt.auxio.util.makeScrollingViewFade
/**
* The main "Launching Point" fragment of Auxio, allowing navigation to the detail
* views for each respective fragment.
* FIXME: More UI glitches:
* - AppBar will just...expand. For no reason. If you navigate away while it's partially
* collapsed. No, I don't know why. Guess I have to save the state myself.
* - Edge-to-edge is borked still, unsure how to really fix this aside from making some
* magic layout like Material Files, but even then it might not work since the scrolling
* views are not laid side-by-side to the layout itself.
* So excited to have enough time to get to these in like...november.
* @author OxygenCobalt
*/
class HomeFragment : Fragment() {
@@ -33,6 +33,7 @@ import org.oxycblt.auxio.util.logD
/**
* Object that manages the AudioFocus state.
* Adapted from NewPipe (https://github.com/TeamNewPipe/NewPipe)
* FIXME: remove the janky audio fadeout code, it just does not work.
* @author OxygenCobalt
*/
class AudioReactor(