pull/433/head
gedoor 4 years ago
parent 4eab3b92a0
commit 7a6ec940f7
  1. 2
      app/src/main/java/io/legado/app/ui/book/cache/CacheActivity.kt
  2. 1
      app/src/main/res/layout/item_rss.xml
  3. 6
      app/src/main/res/menu/book_cache.xml

@ -57,7 +57,7 @@ class CacheActivity : VMBaseActivity<CacheViewModel>(R.layout.activity_download)
} }
override fun onCompatCreateOptionsMenu(menu: Menu): Boolean { override fun onCompatCreateOptionsMenu(menu: Menu): Boolean {
menuInflater.inflate(R.menu.download, menu) menuInflater.inflate(R.menu.book_cache, menu)
return super.onCompatCreateOptionsMenu(menu) return super.onCompatCreateOptionsMenu(menu)
} }

@ -25,6 +25,7 @@
android:gravity="top|center_horizontal" android:gravity="top|center_horizontal"
android:lines="2" android:lines="2"
android:ellipsize="end" android:ellipsize="end"
android:textColor="@color/secondaryText"
tools:text="RSS" tools:text="RSS"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" app:layout_constraintRight_toRightOf="parent"

@ -14,7 +14,11 @@
android:id="@+id/menu_book_group" android:id="@+id/menu_book_group"
android:title="@string/group" android:title="@string/group"
android:icon="@drawable/ic_groups" android:icon="@drawable/ic_groups"
app:showAsAction="always" /> app:showAsAction="always">
<menu />
</item>
<item <item
android:id="@+id/menu_log" android:id="@+id/menu_log"
Loading…
Cancel
Save