playback: make compact playback ui a view
Change CompactPlaybackFragment into a View. This completely fixes the
issue I tried to band-aid in ae39054. The code is a bit uglier, but
that's tolerable.
This commit is contained in:
@@ -4,9 +4,4 @@
|
||||
<attr name="entries" format="reference" />
|
||||
<attr name="entryValues" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<attr format="enum" name="layout_role">
|
||||
<enum name="content" value="0" />
|
||||
<enum name="floating" value="1" />
|
||||
</attr>
|
||||
</resources>
|
||||
@@ -1,5 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- This is for PlaybackBarLayout -->
|
||||
<item name="playback_bar" type="id" />
|
||||
|
||||
<!-- This is for HomeFragment's AppBarLayout. Explanations for these can be found there. -->
|
||||
<item name="home_song_list" type="id" />
|
||||
<item name="home_album_list" type="id" />
|
||||
|
||||
Reference in New Issue
Block a user