OSDN Git Service

Updates for the title bar.
authorLeon Scroggins <scroggo@google.com>
Tue, 29 Sep 2009 17:08:35 +0000 (13:08 -0400)
committerLeon Scroggins <scroggo@google.com>
Tue, 29 Sep 2009 18:42:54 +0000 (14:42 -0400)
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

res/layout/title_bar.xml

index 01ff0ae..422458f 100644 (file)
@@ -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"
         <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>