|
|
@ -1,14 +1,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" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
tools:context=".ui.main.MainActivity"> |
|
|
|
tools:context=".ui.main.MainActivity" |
|
|
|
|
|
|
|
tools:ignore="AlwaysShowAction"> |
|
|
|
<item |
|
|
|
|
|
|
|
android:id="@+id/menu_add_bookmark" |
|
|
|
|
|
|
|
android:icon="@drawable/ic_bookmark" |
|
|
|
|
|
|
|
android:title="@string/bookmark_add" |
|
|
|
|
|
|
|
app:showAsAction="always" |
|
|
|
|
|
|
|
tools:ignore="AlwaysShowAction" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_on_line"> |
|
|
|
<group android:id="@+id/menu_group_on_line"> |
|
|
|
<item |
|
|
|
<item |
|
|
@ -25,22 +19,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
<item |
|
|
|
<item |
|
|
|
android:id="@+id/menu_download" |
|
|
|
android:id="@+id/menu_download" |
|
|
|
|
|
|
|
android:icon="@drawable/ic_download_line" |
|
|
|
android:title="@string/offline_cache" |
|
|
|
android:title="@string/offline_cache" |
|
|
|
app:showAsAction="never" /> |
|
|
|
app:showAsAction="always" /> |
|
|
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
|
|
|
android:id="@+id/menu_disable_book_source" |
|
|
|
|
|
|
|
android:title="@string/disable_book_source" |
|
|
|
|
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</group> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<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> |
|
|
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_text"> |
|
|
|
<group android:id="@+id/menu_group_text"> |
|
|
@ -62,6 +44,28 @@ |
|
|
|
|
|
|
|
|
|
|
|
</group> |
|
|
|
</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 |
|
|
|
<item |
|
|
|
android:id="@+id/menu_copy_text" |
|
|
|
android:id="@+id/menu_copy_text" |
|
|
|
android:title="@string/copy_text" |
|
|
|
android:title="@string/copy_text" |
|
|
|