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:
Makoto Onuki 2011-06-03 14:25:10 -07:00
parent 03b863d68e
commit cc881b744b
2 changed files with 0 additions and 24 deletions

View File

@ -41,10 +41,4 @@
android:layout_height="0dip"
android:layout_weight="1"
/>
<!-- TODO temporarily gone -->
<include
layout="@layout/message_command_button_view"
android:id="@+id/message_command_buttons"
android:visibility="gone"
/>
</LinearLayout>

View File

@ -57,9 +57,6 @@ import java.util.Set;
* - TODO Implement callbacks
*/
class UIControllerOnePane extends UIControllerBase {
// TODO Newer/Older buttons not needed. Remove this.
private MessageCommandButtonView mMessageCommandButtons;
// MailboxListFragment.Callback
@Override
public void onAccountSelected(long accountId) {
@ -289,9 +286,6 @@ class UIControllerOnePane extends UIControllerBase {
@Override
public void onActivityViewReady() {
super.onActivityViewReady();
mMessageCommandButtons = UiUtilities.getView(mActivity, R.id.message_command_buttons);
mMessageCommandButtons.setCallback(new CommandButtonCallback());
}
@Override
@ -486,18 +480,6 @@ class UIControllerOnePane extends UIControllerBase {
return Mailbox.NO_MAILBOX;
}
private class CommandButtonCallback implements MessageCommandButtonView.Callback {
@Override
public void onMoveToNewer() {
// TODO
}
@Override
public void onMoveToOlder() {
// TODO
}
}
@Override
protected boolean isRefreshEnabled() {
// Refreshable only when an actual account is selected, and message view isn't shown.