Remove next/previous entries from message view menu
This commit is contained in:
parent
995703cc5f
commit
17c51a4900
5 changed files with 0 additions and 36 deletions
|
@ -216,10 +216,6 @@ class MessageViewFragment :
|
|||
}
|
||||
}
|
||||
|
||||
// FIXME: Remove previous/next actions
|
||||
menu.findItem(R.id.next_message).isVisible = false
|
||||
menu.findItem(R.id.previous_message).isVisible = false
|
||||
|
||||
if (isMoveCapable) {
|
||||
val canMessageBeArchived = canMessageBeArchived()
|
||||
val canMessageBeMovedToSpam = canMessageBeMovedToSpam()
|
||||
|
|
|
@ -1,10 +0,0 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:tint="?attr/colorControlNormal"
|
||||
android:viewportHeight="24"
|
||||
android:viewportWidth="24">
|
||||
<path
|
||||
android:fillColor="@android:color/white"
|
||||
android:pathData="M15.41,7.41L14,6l-6,6 6,6 1.41,-1.41L10.83,12z" />
|
||||
</vector>
|
|
@ -48,22 +48,6 @@
|
|||
android:visible="false"
|
||||
app:showAsAction="always" />
|
||||
|
||||
<!-- MessageView -->
|
||||
<item
|
||||
android:id="@+id/previous_message"
|
||||
android:icon="?attr/iconActionPreviousMessage"
|
||||
android:title="@string/previous_action"
|
||||
android:visible="false"
|
||||
app:showAsAction="always" />
|
||||
|
||||
<!-- MessageView -->
|
||||
<item
|
||||
android:id="@+id/next_message"
|
||||
android:icon="?attr/iconActionNextMessage"
|
||||
android:title="@string/next_action"
|
||||
android:visible="false"
|
||||
app:showAsAction="always" />
|
||||
|
||||
<!-- MessageView -->
|
||||
<item
|
||||
android:id="@+id/spam"
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
<attr name="iconActionMove" format="reference" />
|
||||
<attr name="iconActionCopy" format="reference" />
|
||||
<attr name="iconActionNextStatus" format="reference" />
|
||||
<attr name="iconActionNextMessage" format="reference" />
|
||||
<attr name="iconActionPreviousMessage" format="reference" />
|
||||
<attr name="iconActionRefresh" format="reference" />
|
||||
<attr name="iconActionSearch" format="reference" />
|
||||
<attr name="iconActionSearchFolder" format="reference" />
|
||||
|
|
|
@ -33,8 +33,6 @@
|
|||
<item name="iconActionMove">@drawable/ic_folder</item>
|
||||
<item name="iconActionCopy">@drawable/ic_content_copy</item>
|
||||
<item name="iconActionNextStatus">@drawable/ic_chevron_right</item>
|
||||
<item name="iconActionNextMessage">@drawable/ic_chevron_right</item>
|
||||
<item name="iconActionPreviousMessage">@drawable/ic_chevron_left</item>
|
||||
<item name="iconActionRefresh">@drawable/ic_refresh</item>
|
||||
<item name="iconActionSearch">@drawable/ic_magnify</item>
|
||||
<item name="iconActionSearchFolder">@drawable/ic_folder_magnify</item>
|
||||
|
@ -154,8 +152,6 @@
|
|||
<item name="iconActionMove">@drawable/ic_folder</item>
|
||||
<item name="iconActionCopy">@drawable/ic_content_copy</item>
|
||||
<item name="iconActionNextStatus">@drawable/ic_chevron_right</item>
|
||||
<item name="iconActionNextMessage">@drawable/ic_chevron_right</item>
|
||||
<item name="iconActionPreviousMessage">@drawable/ic_chevron_left</item>
|
||||
<item name="iconActionRefresh">@drawable/ic_refresh</item>
|
||||
<item name="iconActionSearch">@drawable/ic_magnify</item>
|
||||
<item name="iconActionSearchFolder">@drawable/ic_folder_magnify</item>
|
||||
|
|
Loading…
Reference in a new issue