Updates for the title bar.
Modify the layout of the title bar to better match that of the
search bar. Also use the newer asset for the bookmarks button.
See http://b/issue?id=2126429 and http://b/issue?id=2145205
Change-Id: I14f05ca00a30f67d59d407ac3f6dfb2ac63a8184
diff --git a/res/layout/title_bar.xml b/res/layout/title_bar.xml
index 01ff0ae..422458f 100644
--- a/res/layout/title_bar.xml
+++ b/res/layout/title_bar.xml
@@ -22,7 +22,7 @@
android:paddingLeft="8dip"
android:paddingRight="12dip"
android:paddingTop="2dip"
- android:paddingBottom="0dip"
+ android:paddingBottom="1dip"
android:background="@drawable/search_plate_browser" >
<ProgressBar android:id="@+id/progress_horizontal"
@@ -45,7 +45,6 @@
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:orientation="horizontal"
- android:layout_marginBottom="2dip"
>
<ImageView android:id="@+id/favicon"
android:layout_width="20dip"
@@ -75,11 +74,12 @@
<ImageView
android:id="@+id/rt_btn"
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
+ android:layout_height="fill_parent"
android:layout_marginLeft="8dip"
- android:layout_marginTop="2dip"
+ android:scaleType="center"
+ android:layout_marginBottom="4dip"
android:background="@drawable/btn_bookmark"
- android:src="@drawable/ic_btn_bookmark_browsertab"
+ android:src="@drawable/ic_tab_bookmarks_unselected"
/>
</LinearLayout>
</LinearLayout>