Remove the hidden newer/older buttons from 1-pane.
We'll implement swipe and this view is not used on 1-pane anyway. Change-Id: Ib1d9b44dd530159377f3e5f883188832de30482f
This commit is contained in:
parent
03b863d68e
commit
cc881b744b
@ -41,10 +41,4 @@
|
|||||||
android:layout_height="0dip"
|
android:layout_height="0dip"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
/>
|
/>
|
||||||
<!-- TODO temporarily gone -->
|
|
||||||
<include
|
|
||||||
layout="@layout/message_command_button_view"
|
|
||||||
android:id="@+id/message_command_buttons"
|
|
||||||
android:visibility="gone"
|
|
||||||
/>
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
@ -57,9 +57,6 @@ import java.util.Set;
|
|||||||
* - TODO Implement callbacks
|
* - TODO Implement callbacks
|
||||||
*/
|
*/
|
||||||
class UIControllerOnePane extends UIControllerBase {
|
class UIControllerOnePane extends UIControllerBase {
|
||||||
// TODO Newer/Older buttons not needed. Remove this.
|
|
||||||
private MessageCommandButtonView mMessageCommandButtons;
|
|
||||||
|
|
||||||
// MailboxListFragment.Callback
|
// MailboxListFragment.Callback
|
||||||
@Override
|
@Override
|
||||||
public void onAccountSelected(long accountId) {
|
public void onAccountSelected(long accountId) {
|
||||||
@ -289,9 +286,6 @@ class UIControllerOnePane extends UIControllerBase {
|
|||||||
@Override
|
@Override
|
||||||
public void onActivityViewReady() {
|
public void onActivityViewReady() {
|
||||||
super.onActivityViewReady();
|
super.onActivityViewReady();
|
||||||
|
|
||||||
mMessageCommandButtons = UiUtilities.getView(mActivity, R.id.message_command_buttons);
|
|
||||||
mMessageCommandButtons.setCallback(new CommandButtonCallback());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -486,18 +480,6 @@ class UIControllerOnePane extends UIControllerBase {
|
|||||||
return Mailbox.NO_MAILBOX;
|
return Mailbox.NO_MAILBOX;
|
||||||
}
|
}
|
||||||
|
|
||||||
private class CommandButtonCallback implements MessageCommandButtonView.Callback {
|
|
||||||
@Override
|
|
||||||
public void onMoveToNewer() {
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void onMoveToOlder() {
|
|
||||||
// TODO
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected boolean isRefreshEnabled() {
|
protected boolean isRefreshEnabled() {
|
||||||
// Refreshable only when an actual account is selected, and message view isn't shown.
|
// Refreshable only when an actual account is selected, and message view isn't shown.
|
||||||
|
Loading…
Reference in New Issue
Block a user