Bug 889555 - Force hiding awesomebar's action-bar during onCreate(). [r=sriram]

This commit is contained in:
Michal Kajda 2013-07-10 11:14:22 -07:00
Родитель 3e96bcc570
Коммит ec228c6d76
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -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);