소스 검색

Remove share action in more menu

Wayne 5 년 전
부모
커밋
6ee9d84ff7
2개의 변경된 파일0개의 추가작업 그리고 8개의 파일을 삭제
  1. 0 1
      reader/src/main/java/com/kdanmobile/reader/ReaderActivity.kt
  2. 0 7
      reader/src/main/res/menu/reader_more.xml

+ 0 - 1
reader/src/main/java/com/kdanmobile/reader/ReaderActivity.kt

@@ -376,7 +376,6 @@ abstract class ReaderActivity : AppCompatActivity() {
         toolbar_readerActivity.setOnMenuItemClickListener {
             when (it.itemId) {
                 R.id.item_reader_bookmark -> onClickBookmark()
-                R.id.item_reader_more_share -> onClickShare()
                 R.id.item_reader_more_text_reflow -> onClickTextReflow()
                 R.id.item_reader_more_file_info -> onClickFileInfo()
                 R.id.item_reader_more_print -> onClickPrint()

+ 0 - 7
reader/src/main/res/menu/reader_more.xml

@@ -7,13 +7,6 @@
         android:title="@string/reader_more_menu_bookmark"
         app:showAsAction="ifRoom"
         />
-    <item
-        android:id="@+id/item_reader_more_share"
-        android:icon="@drawable/ic_share_black_op60_24dp"
-        android:title="@string/reader_more_menu_share"
-        app:showAsAction="withText"
-        >
-    </item>
     <item
         android:id="@+id/item_reader_more_text_reflow"
         android:icon="@drawable/ic_format_align_left_black_op60_24dp"