summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorPeter Ng <petergng@google.com>2011-09-22 13:13:08 -0700
committerPeter Ng <petergng@google.com>2011-09-23 14:26:07 -0700
commitdf4cc0c67237fa14b2b494353041deeb3d0465d5 (patch)
tree9ba6696aeba4ad8af59da23d70c58eb7771c50b9 /res/layout
parent4cd25485194a8154efcd7b93d0cf530ebac563f2 (diff)
downloadpackages_apps_Browser-df4cc0c67237fa14b2b494353041deeb3d0465d5.zip
packages_apps_Browser-df4cc0c67237fa14b2b494353041deeb3d0465d5.tar.gz
packages_apps_Browser-df4cc0c67237fa14b2b494353041deeb3d0465d5.tar.bz2
Browser layout fixes and asset updates
-darker actionbar -folder icon is smaller and no longer blue, and padding is removed -textfield is cleaned up and given margins on left and right -various padding changes for icons to fit inside the padded in textfield -textfield is now activated blue Bug: 5190316 Change-Id: I12a09545933c9e5437cb22b38116820600e71808
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/nav_screen.xml2
-rw-r--r--res/layout/nav_tab_view.xml4
-rw-r--r--res/layout/title_bar_nav.xml19
3 files changed, 16 insertions, 9 deletions
diff --git a/res/layout/nav_screen.xml b/res/layout/nav_screen.xml
index ae0db1b..c655727 100644
--- a/res/layout/nav_screen.xml
+++ b/res/layout/nav_screen.xml
@@ -32,7 +32,7 @@
android:layout_height="@dimen/toolbar_height"
android:layout_gravity="top"
android:gravity="right"
- android:background="#C0404040">
+ android:background="#CC0d0d0d">
<ImageButton
android:id="@+id/newtab"
android:layout_width="wrap_content"
diff --git a/res/layout/nav_tab_view.xml b/res/layout/nav_tab_view.xml
index cdfcda7..82541a4 100644
--- a/res/layout/nav_tab_view.xml
+++ b/res/layout/nav_tab_view.xml
@@ -26,7 +26,7 @@
android:id="@+id/titlebar"
android:orientation="horizontal"
android:layout_width="match_parent"
- android:layout_height="48dip"
+ android:layout_height="32dip"
android:layout_gravity="center_horizontal"
android:paddingLeft="8dip" >
<TextView
@@ -43,7 +43,7 @@
android:drawablePadding="8dip" />
<ImageView
android:id="@+id/closetab"
- android:src="@drawable/ic_stop_holo_dark"
+ android:src="@drawable/ic_tab_close"
android:layout_gravity="center_vertical"
android:layout_width="wrap_content"
android:layout_height="match_parent"
diff --git a/res/layout/title_bar_nav.xml b/res/layout/title_bar_nav.xml
index 8ed6331..15568c3 100644
--- a/res/layout/title_bar_nav.xml
+++ b/res/layout/title_bar_nav.xml
@@ -24,12 +24,14 @@
android:layout_weight="1.0"
android:layout_height="match_parent"
android:gravity="center_vertical"
+ android:layout_marginLeft="8dip"
+ android:layout_marginRight="8dip"
android:orientation="horizontal">
<ImageView
android:id="@+id/magnify"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="8dip"
+ android:paddingLeft="4dip"
android:paddingRight="8dip"
android:visibility="gone"
android:src="@drawable/ic_search_category_suggest" />
@@ -37,23 +39,25 @@
android:id="@+id/incognito_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingLeft="8dip"
+ android:paddingLeft="4dip"
android:visibility="gone"
android:src="@drawable/ic_incognito_holo_dark" />
<FrameLayout
android:id="@+id/iconcombo"
- android:layout_width="52dip"
+ android:layout_width="44dip"
android:layout_height="match_parent"
style="@style/HoloButton">
<ImageView
android:id="@+id/favicon"
- android:layout_width="20dip"
- android:layout_height="20dip"
+ android:layout_width="32dip"
+ android:layout_height="32dip"
+ android:paddingLeft="4dip"
+ android:paddingRight="8dip"
android:layout_gravity="center" />
<ImageView
android:id="@+id/lock"
android:layout_width="32dip"
- android:layout_height="33dip"
+ android:layout_height="32dip"
android:layout_gravity="center"
android:visibility="gone" />
</FrameLayout>
@@ -62,6 +66,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
+ android:paddingLeft="4dip"
android:contentDescription="@string/accessibility_button_stop"
android:src="@drawable/ic_stop_holo_dark"
style="@style/HoloButton" />
@@ -87,6 +92,7 @@
android:id="@+id/voice"
android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:paddingRight="4dip"
android:contentDescription="@string/accessibility_button_voice"
android:src="@drawable/ic_voice_search_holo_dark"
style="@style/HoloButton"
@@ -95,6 +101,7 @@
android:id="@+id/clear"
android:layout_width="wrap_content"
android:layout_height="match_parent"
+ android:paddingRight="4dip"
android:contentDescription="@string/accessibility_button_clear"
android:src="@drawable/ic_close_window_holo_dark"
style="@style/HoloButton"