зеркало из https://github.com/mozilla/gecko-dev.git
Bug 889555 - Force hiding awesomebar's action-bar during onCreate(). [r=sriram]
This commit is contained in:
Родитель
3e96bcc570
Коммит
ec228c6d76
|
@ -88,6 +88,12 @@ public class AwesomeBar extends GeckoActivity
|
|||
|
||||
setContentView(R.layout.awesomebar);
|
||||
|
||||
// ActionBar's isShowing() method returns true in its initial state,
|
||||
// so that it cannot be drawn until hide is called.
|
||||
if (Build.VERSION.SDK_INT >= 11) {
|
||||
getActionBar().hide();
|
||||
}
|
||||
|
||||
mGoButton = (ImageButton) findViewById(R.id.awesomebar_button);
|
||||
mText = (CustomEditText) findViewById(R.id.awesomebar_text);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче