|
|
|
@ -1,14 +1,8 @@ |
|
|
|
|
<menu xmlns:android="http://schemas.android.com/apk/res/android" |
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto" |
|
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
|
tools:context=".ui.main.MainActivity"> |
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
android:id="@+id/menu_add_bookmark" |
|
|
|
|
android:icon="@drawable/ic_bookmark" |
|
|
|
|
android:title="@string/bookmark_add" |
|
|
|
|
app:showAsAction="always" |
|
|
|
|
tools:ignore="AlwaysShowAction" /> |
|
|
|
|
tools:context=".ui.main.MainActivity" |
|
|
|
|
tools:ignore="AlwaysShowAction"> |
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_on_line"> |
|
|
|
|
<item |
|
|
|
@ -25,22 +19,10 @@ |
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
android:id="@+id/menu_download" |
|
|
|
|
android:icon="@drawable/ic_download_line" |
|
|
|
|
android:title="@string/offline_cache" |
|
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
android:id="@+id/menu_disable_book_source" |
|
|
|
|
android:title="@string/disable_book_source" |
|
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
</group> |
|
|
|
|
app:showAsAction="always" /> |
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_login"> |
|
|
|
|
<item |
|
|
|
|
android:id="@+id/menu_login" |
|
|
|
|
android:visible="false" |
|
|
|
|
android:title="@string/login" |
|
|
|
|
app:showAsAction="never" /> |
|
|
|
|
</group> |
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_text"> |
|
|
|
@ -62,6 +44,28 @@ |
|
|
|
|
|
|
|
|
|
</group> |
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
android:id="@+id/menu_add_bookmark" |
|
|
|
|
android:title="@string/bookmark_add" |
|
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_login"> |
|
|
|
|
<item |
|
|
|
|
android:id="@+id/menu_login" |
|
|
|
|
android:visible="false" |
|
|
|
|
android:title="@string/login" |
|
|
|
|
app:showAsAction="never" /> |
|
|
|
|
</group> |
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_on_line_ns"> |
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
android:id="@+id/menu_disable_book_source" |
|
|
|
|
android:title="@string/disable_book_source" |
|
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
</group> |
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
android:id="@+id/menu_copy_text" |
|
|
|
|
android:title="@string/copy_text" |
|
|
|
|