Bug 1058660 - Use consistent height in about:home's tab strip (r=margaret)

This commit is contained in:
Lucas Rocha 2014-10-13 15:50:38 +01:00
parent de835fef3c
commit 04c044fbe9
3 changed files with 3 additions and 2 deletions

View File

@ -14,7 +14,7 @@
android:background="@android:color/white"> android:background="@android:color/white">
<org.mozilla.gecko.home.TabMenuStrip android:layout_width="match_parent" <org.mozilla.gecko.home.TabMenuStrip android:layout_width="match_parent"
android:layout_height="32dip" android:layout_height="@dimen/tabs_strip_height"
android:background="@color/background_light" android:background="@color/background_light"
android:layout_gravity="top" android:layout_gravity="top"
gecko:strip="@drawable/home_tab_menu_strip"/> gecko:strip="@drawable/home_tab_menu_strip"/>

View File

@ -14,7 +14,7 @@
android:background="@android:color/white"> android:background="@android:color/white">
<org.mozilla.gecko.home.HomePagerTabStrip android:layout_width="match_parent" <org.mozilla.gecko.home.HomePagerTabStrip android:layout_width="match_parent"
android:layout_height="40dip" android:layout_height="@dimen/tabs_strip_height"
android:layout_gravity="top" android:layout_gravity="top"
android:gravity="center_vertical" android:gravity="center_vertical"
android:background="@color/background_light" android:background="@color/background_light"

View File

@ -105,6 +105,7 @@
<dimen name="tabs_panel_list_padding">16dip</dimen> <dimen name="tabs_panel_list_padding">16dip</dimen>
<dimen name="tabs_list_divider_height">2dp</dimen> <dimen name="tabs_list_divider_height">2dp</dimen>
<dimen name="tabs_sidebar_width">200dp</dimen> <dimen name="tabs_sidebar_width">200dp</dimen>
<dimen name="tabs_strip_height">40dp</dimen>
<dimen name="tabs_strip_button_width">100dp</dimen> <dimen name="tabs_strip_button_width">100dp</dimen>
<dimen name="tabs_strip_button_padding">18dp</dimen> <dimen name="tabs_strip_button_padding">18dp</dimen>
<dimen name="tabs_strip_shadow_size">1dp</dimen> <dimen name="tabs_strip_shadow_size">1dp</dimen>