Bug 912298 - HomePager's stub and view should not share the same id (r=rnewman)

This commit is contained in:
Lucas Rocha 2013-09-06 11:29:29 +01:00
parent 171c5c787c
commit 2ce3385395
2 changed files with 2 additions and 2 deletions

View File

@ -1512,7 +1512,7 @@ abstract public class BrowserApp extends GeckoApp
}
if (mHomePager == null) {
final ViewStub homePagerStub = (ViewStub) findViewById(R.id.home_pager);
final ViewStub homePagerStub = (ViewStub) findViewById(R.id.home_pager_stub);
mHomePager = (HomePager) homePagerStub.inflate();
}
mHomePager.show(getSupportFragmentManager(), page, animator);

View File

@ -31,7 +31,7 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<ViewStub android:id="@+id/home_pager"
<ViewStub android:id="@+id/home_pager_stub"
android:layout="@layout/home_pager"
android:layout_width="fill_parent"
android:layout_height="fill_parent"/>