parent
b3a470a4b0
commit
81f9abda71
@ -1,6 +1,7 @@ |
|||||||
package io.legado.app.data.entities |
package io.legado.app.data.entities |
||||||
|
|
||||||
data class ReadRecordShow( |
data class ReadRecordShow( |
||||||
var bookName: String = "", |
var bookName: String, |
||||||
var readTime: Long = 0L |
var readTime: Long, |
||||||
|
var lastRead: Long |
||||||
) |
) |
@ -1,21 +1,44 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
<?xml version="1.0" encoding="utf-8"?> |
||||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" |
<menu xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
xmlns:app="http://schemas.android.com/apk/res-auto"> |
xmlns:app="http://schemas.android.com/apk/res-auto" |
||||||
|
xmlns:tools="http://schemas.android.com/tools"> |
||||||
|
|
||||||
<item |
<item |
||||||
android:id="@+id/menu_sort_name" |
android:id="@+id/menu_sort" |
||||||
android:title="@string/sort_by_name" |
android:icon="@drawable/ic_baseline_sort_24" |
||||||
app:showAsAction="never" /> |
android:title="@string/sort" |
||||||
|
app:showAsAction="always" |
||||||
|
tools:ignore="AlwaysShowAction"> |
||||||
|
|
||||||
<item |
<menu> |
||||||
android:id="@+id/menu_sort_time" |
<group |
||||||
android:title="@string/sort_by_time" |
android:id="@+id/menu_group_sort" |
||||||
app:showAsAction="never" /> |
android:checkableBehavior="single"> |
||||||
|
|
||||||
|
<item |
||||||
|
android:id="@+id/menu_sort_name" |
||||||
|
android:title="@string/sort_by_name" /> |
||||||
|
|
||||||
|
<item |
||||||
|
android:id="@+id/menu_sort_read_long" |
||||||
|
android:title="@string/reading_time_sort" |
||||||
|
app:showAsAction="never" /> |
||||||
|
|
||||||
|
<item |
||||||
|
android:id="@+id/menu_sort_read_time" |
||||||
|
android:title="@string/last_read_time_sort" |
||||||
|
app:showAsAction="never" /> |
||||||
|
|
||||||
|
</group> |
||||||
|
|
||||||
|
</menu> |
||||||
|
|
||||||
|
</item> |
||||||
|
|
||||||
<item |
<item |
||||||
android:id="@+id/menu_enable_record" |
android:id="@+id/menu_enable_record" |
||||||
android:title="@string/enable_record" |
|
||||||
android:checkable="true" |
android:checkable="true" |
||||||
|
android:title="@string/enable_record" |
||||||
app:showAsAction="never" /> |
app:showAsAction="never" /> |
||||||
|
|
||||||
</menu> |
</menu> |
Loading…
Reference in new issue