diff options
author | Leon Scroggins <scroggo@google.com> | 2010-03-31 14:50:47 -0400 |
---|---|---|
committer | Leon Scroggins <scroggo@google.com> | 2010-03-31 14:50:47 -0400 |
commit | cd663ea13aa707547f74d5ab028e9e460a6ee03c (patch) | |
tree | 7aedba5748b2bb548b3729b73e02b323635682e3 /res/layout | |
parent | fa52d17a04294c245d6b00180bbe03560390c967 (diff) | |
download | packages_apps_Browser-cd663ea13aa707547f74d5ab028e9e460a6ee03c.zip packages_apps_Browser-cd663ea13aa707547f74d5ab028e9e460a6ee03c.tar.gz packages_apps_Browser-cd663ea13aa707547f74d5ab028e9e460a6ee03c.tar.bz2 |
Lessen the difference in appearance of title bar during load.
Change to using textfield_search_empty assets, which have margin
values that better match the assets used outside of a load. As
a result, there is no longer a need to edit the LayoutParams in
TitleBar.java. However, do set the padding in TitleBar.java, since
it needs to be set for each of the different backgrounds used.
Fixes http://b/issue?id=2558919
Change-Id: Idf0d8bea59bcc76c32e1e03bf736a4b64bf31887
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/title_bar.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/res/layout/title_bar.xml b/res/layout/title_bar.xml index c251250..9f0cb51 100644 --- a/res/layout/title_bar.xml +++ b/res/layout/title_bar.xml @@ -44,6 +44,7 @@ android:layout_width="0dip" android:layout_weight="1.0" android:layout_height="wrap_content" + android:layout_marginBottom="4dip" android:gravity="center_vertical" android:orientation="horizontal" > @@ -63,8 +64,7 @@ android:layout_height="wrap_content" android:layout_width="0dip" android:layout_weight="1.0" - android:paddingLeft="8dip" - android:paddingRight="6dip" + android:layout_marginLeft="3dip" android:textAppearance="?android:attr/textAppearanceMedium" android:textColor="@color/black" android:gravity="center_vertical" @@ -76,6 +76,7 @@ android:background="@drawable/stop_background" android:layout_width="wrap_content" android:layout_height="match_parent" + android:layout_marginBottom="4dip" android:src="@drawable/ic_btn_stop_v2" android:visibility="gone" /> |