home: expand appbar when selection starts
Expand the home AppBarLayout when a selection begins (Excluding initialization)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
style="@style/Widget.Auxio.AppBarLayout"
|
||||
android:fitsSystemWindows="true">
|
||||
|
||||
<org.oxycblt.auxio.ui.SelectionToolbarOverlay
|
||||
<org.oxycblt.auxio.ui.selection.SelectionToolbarOverlay
|
||||
android:id="@+id/home_toolbar_overlay"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
@@ -26,7 +26,7 @@
|
||||
app:menu="@menu/menu_home"
|
||||
app:title="@string/info_app_name" />
|
||||
|
||||
</org.oxycblt.auxio.ui.SelectionToolbarOverlay>
|
||||
</org.oxycblt.auxio.ui.selection.SelectionToolbarOverlay>
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/home_tabs"
|
||||
|
||||
@@ -4,10 +4,11 @@
|
||||
<item
|
||||
android:id="@+id/action_play_next_selection"
|
||||
android:title="@string/lbl_play_next"
|
||||
android:icon="@drawable/ic_play_next_24"
|
||||
android:icon="@drawable/ic_play_next"
|
||||
app:showAsAction="ifRoom"/>
|
||||
<item
|
||||
android:id="@+id/action_queue_add_selection"
|
||||
android:icon="@drawable/ic_play_next"
|
||||
android:title="@string/lbl_queue_add"
|
||||
app:showAsAction="never" />
|
||||
<!-- TOOD: Disabled until able to get queue system into shape -->
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- 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" />
|
||||
<item name="home_artist_list" type="id" />
|
||||
<item name="home_genre_list" type="id" />
|
||||
<item name="home_song_recycler" type="id" />
|
||||
<item name="home_album_recycler" type="id" />
|
||||
<item name="home_artist_recycler" type="id" />
|
||||
<item name="home_genre_recycler" type="id" />
|
||||
|
||||
<integer name="anim_fade_enter_duration">200</integer>
|
||||
<integer name="anim_fade_exit_duration">100</integer>
|
||||
|
||||
Reference in New Issue
Block a user