mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 05:41:12 +00:00
Bug 713402: Tabs not shown in awesomescreen in honeycomb. [r=mfinkle]
This commit is contained in:
parent
cdf2c28d24
commit
e2bd61acc0
@ -70,6 +70,7 @@ import android.widget.ExpandableListView;
|
||||
import android.widget.ImageButton;
|
||||
import android.widget.RelativeLayout;
|
||||
import android.widget.ListView;
|
||||
import android.widget.TabWidget;
|
||||
import android.widget.Toast;
|
||||
|
||||
import java.util.Map;
|
||||
@ -117,6 +118,9 @@ public class AwesomeBar extends Activity implements GeckoEventListener {
|
||||
mText = (AwesomeBarEditText) findViewById(R.id.awesomebar_text);
|
||||
}
|
||||
|
||||
TabWidget tabWidget = (TabWidget) findViewById(android.R.id.tabs);
|
||||
tabWidget.setDividerDrawable(null);
|
||||
|
||||
mAwesomeTabs = (AwesomeBarTabs) findViewById(R.id.awesomebar_tabs);
|
||||
mAwesomeTabs.setOnUrlOpenListener(new AwesomeBarTabs.OnUrlOpenListener() {
|
||||
public void onUrlOpen(String url) {
|
||||
|
@ -27,13 +27,4 @@
|
||||
<item name="android:layout_weight">1</item>
|
||||
</style>
|
||||
|
||||
<!-- TabWidget -->
|
||||
<style name="TabWidget">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">48dip</item>
|
||||
<item name="android:background">@drawable/tabs_tray_bg_repeat</item>
|
||||
<item name="android:divider">@android:color/transparent</item>
|
||||
<item name="android:tabStripEnabled">false</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
Loading…
Reference in New Issue
Block a user