OSDN Git Service

Use a modified version of the search plate for the browser bar.
authorLeon Scroggins <scroggo@google.com>
Tue, 22 Sep 2009 15:23:52 +0000 (11:23 -0400)
committerLeon Scroggins <scroggo@google.com>
Tue, 22 Sep 2009 19:56:20 +0000 (15:56 -0400)
Change-Id: I92b472de69756c68e8a0f8dcacf8bd4787597dd5

res/drawable-hdpi/search_plate_browser.9.png [new file with mode: 0644]
res/drawable-mdpi/search_plate_browser.9.png [new file with mode: 0644]
res/layout/title_bar.xml

diff --git a/res/drawable-hdpi/search_plate_browser.9.png b/res/drawable-hdpi/search_plate_browser.9.png
new file mode 100644 (file)
index 0000000..f078259
Binary files /dev/null and b/res/drawable-hdpi/search_plate_browser.9.png differ
diff --git a/res/drawable-mdpi/search_plate_browser.9.png b/res/drawable-mdpi/search_plate_browser.9.png
new file mode 100644 (file)
index 0000000..0436dcf
Binary files /dev/null and b/res/drawable-mdpi/search_plate_browser.9.png differ
index e97bed0..2c49252 100644 (file)
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     android:orientation="vertical"
-    android:paddingLeft="12dip"
+    android:paddingLeft="8dip"
     android:paddingRight="12dip"
-    android:paddingTop="0dip"
+    android:paddingTop="2dip"
     android:paddingBottom="0dip"
-    android:background="@drawable/tab_browser_selected" >
+    android:background="@drawable/search_plate_browser" >
 
     <ProgressBar android:id="@+id/progress_horizontal"
         style="?android:attr/progressBarStyleHorizontal"
@@ -35,7 +35,6 @@
     <LinearLayout
         android:layout_width="fill_parent"
         android:layout_height="wrap_content"
-        android:layout_marginTop="3dip"
         android:orientation="horizontal"
         >
 
@@ -46,6 +45,7 @@
             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"
         </LinearLayout>
         <ImageView
             android:id="@+id/rt_btn"
-            android:layout_width="42dip"
-            android:layout_height="42dip"
+            android:layout_width="wrap_content"
+            android:layout_height="wrap_content"
             android:layout_marginLeft="8dip"
+            android:layout_marginTop="2dip"
             android:background="@*android:drawable/btn_search_dialog_voice"
             android:src="@drawable/ic_btn_bookmark_browsertab"
         />