|
|
@ -3,6 +3,12 @@ |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
xmlns:tools="http://schemas.android.com/tools" |
|
|
|
tools:context=".ui.main.MainActivity"> |
|
|
|
tools:context=".ui.main.MainActivity"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
|
|
|
android:id="@+id/menu_add_bookmark" |
|
|
|
|
|
|
|
android:icon="@drawable/ic_bookmark" |
|
|
|
|
|
|
|
android:title="@string/bookmark_add" |
|
|
|
|
|
|
|
app:showAsAction="ifRoom" /> |
|
|
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_on_line"> |
|
|
|
<group android:id="@+id/menu_group_on_line"> |
|
|
|
<item |
|
|
|
<item |
|
|
|
android:id="@+id/menu_change_source" |
|
|
|
android:id="@+id/menu_change_source" |
|
|
@ -20,7 +26,7 @@ |
|
|
|
android:id="@+id/menu_download" |
|
|
|
android:id="@+id/menu_download" |
|
|
|
android:icon="@drawable/ic_download_line" |
|
|
|
android:icon="@drawable/ic_download_line" |
|
|
|
android:title="@string/offline_cache" |
|
|
|
android:title="@string/offline_cache" |
|
|
|
app:showAsAction="ifRoom" /> |
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
|
|
<item |
|
|
|
<item |
|
|
|
android:id="@+id/menu_disable_book_source" |
|
|
|
android:id="@+id/menu_disable_book_source" |
|
|
@ -58,39 +64,30 @@ |
|
|
|
|
|
|
|
|
|
|
|
</group> |
|
|
|
</group> |
|
|
|
|
|
|
|
|
|
|
|
<group android:id="@+id/menu_group_show"> |
|
|
|
<item |
|
|
|
<item |
|
|
|
android:id="@+id/menu_copy_text" |
|
|
|
android:id="@+id/menu_add_bookmark" |
|
|
|
android:icon="@drawable/ic_copy" |
|
|
|
android:icon="@drawable/ic_bookmark" |
|
|
|
android:title="@string/copy_text" |
|
|
|
android:title="@string/bookmark_add" |
|
|
|
app:showAsAction="ifRoom" /> |
|
|
|
app:showAsAction="ifRoom" /> |
|
|
|
|
|
|
|
|
|
|
|
<item |
|
|
|
<item |
|
|
|
android:id="@+id/menu_enable_replace" |
|
|
|
android:id="@+id/menu_copy_text" |
|
|
|
android:icon="@drawable/ic_find_replace" |
|
|
|
android:icon="@drawable/ic_copy" |
|
|
|
android:title="@string/replace_rule_title" |
|
|
|
android:title="@string/copy_text" |
|
|
|
android:checkable="true" |
|
|
|
app:showAsAction="ifRoom" /> |
|
|
|
android:checked="true" |
|
|
|
|
|
|
|
app:showAsAction="never" /> |
|
|
|
<item |
|
|
|
|
|
|
|
android:id="@+id/menu_enable_replace" |
|
|
|
<item |
|
|
|
android:icon="@drawable/ic_find_replace" |
|
|
|
android:id="@+id/menu_update_toc" |
|
|
|
android:title="@string/replace_rule_title" |
|
|
|
android:icon="@drawable/ic_update" |
|
|
|
android:checkable="true" |
|
|
|
android:title="@string/update_toc" |
|
|
|
android:checked="true" |
|
|
|
app:showAsAction="never" /> |
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
|
|
<item |
|
|
|
<item |
|
|
|
android:id="@+id/menu_book_info" |
|
|
|
android:id="@+id/menu_update_toc" |
|
|
|
android:icon="@drawable/ic_toc" |
|
|
|
android:icon="@drawable/ic_update" |
|
|
|
android:title="@string/book_info" |
|
|
|
android:title="@string/update_toc" |
|
|
|
app:showAsAction="never" /> |
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<item |
|
|
|
|
|
|
|
android:id="@+id/menu_book_info" |
|
|
|
|
|
|
|
android:icon="@drawable/ic_toc" |
|
|
|
|
|
|
|
android:title="@string/book_info" |
|
|
|
|
|
|
|
app:showAsAction="never" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</group> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</menu> |
|
|
|
</menu> |
|
|
|