Bug 1091107 - Visual refinements in the tab strip (r=mcomella)

This commit is contained in:
Lucas Rocha 2014-10-30 10:26:24 +00:00
parent ae863b951c
commit c7f4af3448
6 changed files with 8 additions and 8 deletions

View File

@ -31,7 +31,7 @@
<item android:state_pressed="true"
android:state_checked="true">
<shape>
<solid android:color="@color/highlight_nav" />
<solid android:color="@color/new_tablet_highlight" />
</shape>
</item>
@ -43,7 +43,7 @@
<item android:state_pressed="true">
<shape>
<solid android:color="@color/highlight_dark" />
<solid android:color="@color/new_tablet_highlight_dark" />
</shape>
</item>

View File

@ -10,7 +10,6 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
android:layout_marginLeft="2dp"
android:requiresFadingEdge="horizontal"
android:fadingEdgeLength="10dp"
android:paddingTop="8dp"/>

View File

@ -10,5 +10,5 @@
android:layout_width="@dimen/new_tablet_tab_strip_item_width"
android:layout_height="match_parent"
android:background="@drawable/new_tablet_tab_strip_item_bg"
android:paddingLeft="25dp"
android:paddingRight="15dp"/>
android:paddingLeft="28dp"
android:paddingRight="12dp"/>

View File

@ -10,7 +10,7 @@
android:id="@+id/favicon"
android:layout_width="@dimen/new_tablet_tab_strip_favicon_size"
android:layout_height="match_parent"
android:layout_marginRight="9dp"
android:layout_marginRight="8dp"
android:scaleType="centerInside"
android:duplicateParentState="true"/>

View File

@ -18,6 +18,7 @@
<color name="new_tablet_highlight_focused">#C0C9D0</color>
<color name="new_tablet_highlight_pb">#222222</color>
<color name="new_tablet_highlight_focused_pb">#363B40</color>
<color name="new_tablet_highlight_dark">#45494E</color>
<!-- highlight on shaped button: 20% white over background_tabs -->
<color name="highlight_shaped">#FF696D71</color>

View File

@ -23,8 +23,8 @@
<dimen name="new_tablet_nav_button_width_plus_half">63dp</dimen>
<dimen name="new_tablet_tab_strip_height">48dp</dimen>
<dimen name="new_tablet_tab_strip_item_width">250dp</dimen>
<dimen name="new_tablet_tab_strip_item_margin">-30dp</dimen>
<dimen name="new_tablet_tab_strip_item_width">208dp</dimen>
<dimen name="new_tablet_tab_strip_item_margin">-28dp</dimen>
<dimen name="new_tablet_tab_strip_favicon_size">16dp</dimen>
<dimen name="new_tablet_site_security_height">60dp</dimen>
<dimen name="new_tablet_site_security_width">34dp</dimen>