pull/32/head
kunfei 5 years ago
parent d7864a7400
commit 90056bf000
  1. 2
      app/src/main/java/io/legado/app/ui/main/MainActivity.kt
  2. 12
      app/src/main/res/drawable/ic_rss_feed.xml
  3. 6
      app/src/main/res/menu/activity_main_bnv.xml

@ -58,7 +58,7 @@ class MainActivity : BaseActivity<MainViewModel>(), BottomNavigationView.OnNavig
when (item.itemId) { when (item.itemId) {
R.id.menu_bookshelf -> view_pager_main.currentItem = 0 R.id.menu_bookshelf -> view_pager_main.currentItem = 0
R.id.menu_find_book -> view_pager_main.currentItem = 1 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 R.id.menu_my_config -> view_pager_main.currentItem = 3
} }
return false return false

@ -0,0 +1,12 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24.0"
android:viewportHeight="24.0">
<path
android:fillColor="#FF000000"
android:pathData="M6.18,17.82m-2.18,0a2.18,2.18 0,1 1,4.36 0a2.18,2.18 0,1 1,-4.36 0" />
<path
android:fillColor="#FF000000"
android:pathData="M4,4.44v2.83c7.03,0 12.73,5.7 12.73,12.73h2.83c0,-8.59 -6.97,-15.56 -15.56,-15.56zM4,10.1v2.83c3.9,0 7.07,3.17 7.07,7.07h2.83c0,-5.47 -4.43,-9.9 -9.9,-9.9z" />
</vector>

@ -12,9 +12,9 @@
android:icon="@drawable/ic_explore_black_24dp" android:icon="@drawable/ic_explore_black_24dp"
android:title="@string/find"/> android:title="@string/find"/>
<item <item
android:id="@+id/menu_book_source" android:id="@+id/menu_rss"
android:icon="@drawable/ic_storage_black_24dp" android:icon="@drawable/ic_rss_feed"
android:title="@string/book_source"/> android:title="@string/rss" />
<item <item
android:id="@+id/menu_my_config" android:id="@+id/menu_my_config"
android:icon="@drawable/ic_person_black_24dp" android:icon="@drawable/ic_person_black_24dp"

Loading…
Cancel
Save