ui: completely migrate to material

Drop the Bridge theme and completely migrate to material. This is for
two reasons:

- To make Material You less painful
- Improve coloring [Dark mode, other colors, etc].

Most of the previous UI elements were kept [no rounded corners], but
did come at the cost of removing the hint tagline from the search bar
since there was simply no good way to integrate it. There are also
some other miscellanious issues [Weird selection menus, dividers are
not migrated still], but those will be fixed in future commits.
This commit is contained in:
OxygenCobalt
2021-09-03 20:37:32 -06:00
parent 74d55ba59e
commit 23e3c0241d
15 changed files with 44 additions and 22 deletions
@@ -51,7 +51,6 @@ import org.oxycblt.auxio.util.makeScrollingViewFade
* TODO: Re-add sorting (but new and improved)
* It will require a new SortMode to be made simply for compat. Migrate the old SortMode
* eventually.
* TODO: Add lift-on-scroll eventually [when I can file a bug report or hack it into working]
* @author OxygenCobalt
*/
class HomeFragment : Fragment() {
@@ -34,6 +34,7 @@ import org.oxycblt.auxio.ui.DisplayMode
/**
* The [ViewModel] for the search functionality
* TODO: Try to find adjacent characters [e.g accented o == o]
* @author OxygenCobalt
*/
class SearchViewModel : ViewModel() {
@@ -26,8 +26,6 @@ import android.view.ViewTreeObserver
import androidx.annotation.StyleRes
import androidx.coordinatorlayout.widget.CoordinatorLayout
import androidx.core.content.res.ResourcesCompat
import androidx.core.view.children
import androidx.recyclerview.widget.RecyclerView
import com.google.android.material.appbar.AppBarLayout
import org.oxycblt.auxio.util.logE