зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1157534 - Hide HomePagerContainer when showing BrowserSearch and vice versa. r=margaret
We'd hide only the HomePager before, which left the HomeBanner appearing. --HG-- extra : rebase_source : b6cefaa098fafea182eb43dd1d0e14c5e5725e74
This commit is contained in:
Родитель
4262ab276d
Коммит
68bca54907
|
@ -2577,7 +2577,7 @@ public class BrowserApp extends GeckoApp
|
|||
mBrowserSearchContainer.setVisibility(View.VISIBLE);
|
||||
|
||||
// Prevent overdraw by hiding the underlying HomePager View.
|
||||
mHomePager.setVisibility(View.INVISIBLE);
|
||||
mHomePagerContainer.setVisibility(View.INVISIBLE);
|
||||
|
||||
final FragmentManager fm = getSupportFragmentManager();
|
||||
|
||||
|
@ -2599,7 +2599,7 @@ public class BrowserApp extends GeckoApp
|
|||
|
||||
// To prevent overdraw, the HomePager is hidden when BrowserSearch is displayed:
|
||||
// reverse that.
|
||||
mHomePager.setVisibility(View.VISIBLE);
|
||||
mHomePagerContainer.setVisibility(View.VISIBLE);
|
||||
|
||||
mBrowserSearchContainer.setVisibility(View.INVISIBLE);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче