Added song info refresh and song sort by date modified

This commit is contained in:
h4h13 2020-02-21 13:26:44 +05:30
parent 27141c1bd2
commit f69a04b2d2
22 changed files with 104 additions and 42 deletions

View file

@ -0,0 +1,19 @@
<!--
~ Copyright (c) 2020 Hemanth Savarala.
~
~ Licensed under the GNU General Public License v3
~
~ This is free software: you can redistribute it and/or modify it under
~ the terms of the GNU General Public License as published by
~ the Free Software Foundation either version 3 of the License, or (at your option) any later version.
~
~ This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
~ without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~ See the GNU General Public License for more details.
-->
<vector android:height="24dp" android:tint="#FFFFFF"
android:viewportHeight="24.0" android:viewportWidth="24.0"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="#FF000000" android:pathData="M3,13h8L11,3L3,3v10zM3,21h8v-6L3,15v6zM13,21h8L21,11h-8v10zM13,3v6h8L21,3h-8z"/>
</vector>

View file

@ -22,7 +22,7 @@
android:id="@+id/action_grid_size"
android:icon="@drawable/ic_grid_size_white_24dp"
android:title="@string/action_grid_size"
app:showAsAction="never">
app:showAsAction="ifRoom">
<menu>
<group
android:id="@+id/group_grid_size"
@ -56,9 +56,9 @@
</item>
<item
android:id="@+id/action_layout_type"
android:icon="@drawable/ic_grid_size_white_24dp"
android:icon="@drawable/ic_dashboard_white_24dp"
android:title="@string/grid_style_label"
app:showAsAction="never">
app:showAsAction="ifRoom">
<menu>
<group
android:id="@+id/group_layout_type"

View file

@ -17,6 +17,7 @@
<item name="action_song_sort_order_year" type="id" />
<item name="action_song_sort_order_date" type="id" />
<item name="action_song_sort_order_composer" type="id" />
<item name="action_song_sort_order_date_modified" type="id" />
<item name="action_multi_select_adapter_check_all" type="id" />
<item name="action_folder" type="id" />
</resources>

View file

@ -727,6 +727,7 @@
<string name="sort_order_artist">Artist</string>
<string name="sort_order_composer">Composer</string>
<string name="sort_order_date">Date</string>
<string name="sort_order_date_modified">Date modified</string>
<string name="sort_order_year">Year</string>
<string name="sort_order_z_a">Descending</string>