Bug 706819: Show tabs-tray faster. [r=mfinkle]

This commit is contained in:
Sriram Ramasubramanian 2012-02-13 16:54:36 -08:00
parent 1070a43d7c
commit d9f7afff3b
5 changed files with 12 additions and 5 deletions

View File

@ -151,7 +151,7 @@
android:windowSoftInputMode="stateAlwaysVisible|adjustResize"/> android:windowSoftInputMode="stateAlwaysVisible|adjustResize"/>
<activity android:name="org.mozilla.gecko.TabsTray" <activity android:name="org.mozilla.gecko.TabsTray"
android:theme="@style/Gecko.Translucent" android:theme="@style/Gecko.Translucent.TabsTray"
android:launchMode="singleTask"/> android:launchMode="singleTask"/>
<activity android:name="org.mozilla.gecko.GeckoPreferences" <activity android:name="org.mozilla.gecko.GeckoPreferences"

View File

@ -79,10 +79,6 @@ public class TabsTray extends Activity implements GeckoApp.OnTabsChangedListener
setContentView(R.layout.tabs_tray); setContentView(R.layout.tabs_tray);
if (Build.VERSION.SDK_INT >= 11) {
GeckoActionBar.hide(this);
}
mWaitingForClose = false; mWaitingForClose = false;
mList = (ListView) findViewById(R.id.list); mList = (ListView) findViewById(R.id.list);

View File

@ -48,5 +48,10 @@
<style name="ActionBar.GeckoPreferences"> <style name="ActionBar.GeckoPreferences">
<item name="android:displayOptions">showHome|homeAsUp|showTitle</item> <item name="android:displayOptions">showHome|homeAsUp|showTitle</item>
</style> </style>
<!-- TabsTray ActionBar -->
<style name="ActionBar.TabsTray">
<item name="android:visibility">gone</item>
</style>
</resources> </resources>

View File

@ -40,5 +40,9 @@
<style name="Gecko.TitleBar.Preferences"> <style name="Gecko.TitleBar.Preferences">
<item name="android:actionBarStyle">@style/ActionBar.GeckoPreferences</item> <item name="android:actionBarStyle">@style/ActionBar.GeckoPreferences</item>
</style> </style>
<style name="Gecko.Translucent.TabsTray">
<item name="android:actionBarStyle">@style/ActionBar.TabsTray</item>
</style>
</resources> </resources>

View File

@ -32,5 +32,7 @@
<style name="Gecko.Light.AwesomeBar"/> <style name="Gecko.Light.AwesomeBar"/>
<style name="Gecko.TitleBar.Preferences"/> <style name="Gecko.TitleBar.Preferences"/>
<style name="Gecko.Translucent.TabsTray"/>
</resources> </resources>