<?xml version ="1.0" encoding ="utf-8"?>
<!--
  ~ This file is part of FYReader.
  ~  FYReader 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.
  ~
  ~  FYReader 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.
  ~
  ~  You should have received a copy of the GNU General Public License
  ~  along with FYReader.  If not, see <https://www.gnu.org/licenses/>.
  ~
  ~  Copyright (C) 2020 - 2022 fengyuecanzhu
  -->

<menu xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:layout_width="match_parent"
    android:layout_height="match_parent">

    <item
        android:id="@+id/action_change_source"
        android:icon="@drawable/ic_change"
        android:title="@string/menu_change_source"
        app:showAsAction="ifRoom" />

    <item
        android:id="@+id/action_share"
        android:icon="@drawable/ic_share"
        android:title="@string/menu_share"
        app:showAsAction="ifRoom" />
    <item
        android:id="@+id/action_edit"
        android:icon="@drawable/ic_edit"
        android:title="@string/menu_edit"
        app:showAsAction="never" />
    <item
        android:id="@+id/action_reload"
        android:icon="@drawable/ic_refresh"
        android:title="@string/menu_reload"
        app:showAsAction="never" />

    <item
        android:id="@+id/action_open_link"
        android:icon="@drawable/ic_link"
        android:title="@string/menu_open_link"
        app:showAsAction="never" />

    <item
        android:id="@+id/action_is_update"
        android:checkable="true"
        android:checked="true"
        android:icon="@drawable/ic_enable"
        android:title="@string/menu_is_update"
        app:showAsAction="never" />
    <item
        android:id="@+id/action_group_setting"
        android:icon="@drawable/ic_group"
        android:title="@string/menu_group_setting"
        app:showAsAction="never" />
    <item
        android:id="@+id/action_edit_source"
        android:icon="@drawable/ic_source"
        android:title="@string/book_source"
        app:showAsAction="ifRoom"/>

    <item
        android:id="@+id/action_word_count"
        android:icon="@drawable/ic_wc"
        android:title="@string/book_word_count"
        app:showAsAction="ifRoom"/>
</menu>
