MessageView: fix rename next/prev in landscape.

Bug 2353633.
This commit is contained in:
Mihai Preda 2010-01-06 18:09:38 +01:00
parent f39e5f38eb
commit e2ddc55ed0
2 changed files with 4 additions and 4 deletions

View File

@ -38,10 +38,10 @@
android:layout_width="0dip"
android:layout_height="0dip">
<View
android:id="@+id/previous"
android:id="@+id/moveToNewer"
android:layout_width="0dip"
android:layout_height="0dip" />
<View android:id="@+id/next"
<View android:id="@+id/moveToOlder"
android:layout_width="0dip"
android:layout_height="0dip" />
</FrameLayout>

View File

@ -144,8 +144,8 @@ public class MessageViewTests
a.onClick(a.findViewById(R.id.reply));
a.onClick(a.findViewById(R.id.reply_all));
a.onClick(a.findViewById(R.id.delete));
a.onClick(a.findViewById(R.id.next));
a.onClick(a.findViewById(R.id.previous));
a.onClick(a.findViewById(R.id.moveToOlder));
a.onClick(a.findViewById(R.id.moveToNewer));
// a.onClick(a.findViewById(R.id.download)); // not revealed yet, so unfair test
// a.onClick(a.findViewById(R.id.view)); // not revealed yet, so unfair test
a.onClick(a.findViewById(R.id.show_pictures));