diff --git a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt index 954bd4692..a76bebc8d 100644 --- a/app/src/main/java/io/legado/app/ui/main/MainActivity.kt +++ b/app/src/main/java/io/legado/app/ui/main/MainActivity.kt @@ -58,7 +58,7 @@ class MainActivity : BaseActivity(), BottomNavigationView.OnNavig when (item.itemId) { R.id.menu_bookshelf -> view_pager_main.currentItem = 0 R.id.menu_find_book -> view_pager_main.currentItem = 1 - R.id.menu_book_source -> view_pager_main.currentItem = 2 + R.id.menu_rss -> view_pager_main.currentItem = 2 R.id.menu_my_config -> view_pager_main.currentItem = 3 } return false diff --git a/app/src/main/res/drawable/ic_rss_feed.xml b/app/src/main/res/drawable/ic_rss_feed.xml new file mode 100644 index 000000000..ed6228cc2 --- /dev/null +++ b/app/src/main/res/drawable/ic_rss_feed.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/menu/activity_main_bnv.xml b/app/src/main/res/menu/activity_main_bnv.xml index 8794b7993..fb34daff3 100644 --- a/app/src/main/res/menu/activity_main_bnv.xml +++ b/app/src/main/res/menu/activity_main_bnv.xml @@ -12,9 +12,9 @@ android:icon="@drawable/ic_explore_black_24dp" android:title="@string/find"/> + android:id="@+id/menu_rss" + android:icon="@drawable/ic_rss_feed" + android:title="@string/rss" />