home: merge all library views into home
Merge LibraryFragment, SongsFragment, and others into a new fragment called HomeFragment. This is the beginning of the Auxio UI overhaul. This has caused some regressions here and there, but these will be rectified over time.
This commit is contained in:
@@ -2,11 +2,17 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
|
||||
<item
|
||||
android:id="@+id/action_search"
|
||||
android:icon="@drawable/ic_search"
|
||||
android:title="@string/lbl_search"
|
||||
app:showAsAction="ifRoom" />
|
||||
|
||||
<item
|
||||
android:id="@+id/submenu_sorting"
|
||||
android:icon="@drawable/ic_sort_none"
|
||||
android:title="@string/lbl_sort"
|
||||
app:showAsAction="always">
|
||||
app:showAsAction="ifRoom">
|
||||
<menu>
|
||||
<group android:checkableBehavior="single">
|
||||
<item
|
||||
@@ -18,4 +24,10 @@
|
||||
</group>
|
||||
</menu>
|
||||
</item>
|
||||
|
||||
<item
|
||||
android:id="@+id/action_settings"
|
||||
android:icon="@drawable/ic_settings"
|
||||
android:title="@string/set_title"
|
||||
app:showAsAction="ifRoom"/>
|
||||
</menu>
|
||||
@@ -1,19 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:id="@+id/library_fragment"
|
||||
android:icon="@drawable/ic_library"
|
||||
android:title="@string/lbl_library" />
|
||||
<item
|
||||
android:id="@+id/songs_fragment"
|
||||
android:icon="@drawable/ic_song"
|
||||
android:title="@string/lbl_songs" />
|
||||
<item
|
||||
android:id="@+id/search_fragment"
|
||||
android:icon="@drawable/ic_search"
|
||||
android:title="@string/lbl_search" />
|
||||
<item
|
||||
android:id="@+id/settings_fragment"
|
||||
android:icon="@drawable/ic_settings"
|
||||
android:title="@string/set_title" />
|
||||
</menu>
|
||||
@@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/action_shuffle"
|
||||
android:icon="@drawable/ic_shuffle"
|
||||
android:title="@string/lbl_shuffle"
|
||||
app:showAsAction="always" />
|
||||
</menu>
|
||||
Reference in New Issue
Block a user