diff options
author | Michael Kolb <kolby@google.com> | 2011-01-25 15:02:27 -0800 |
---|---|---|
committer | Michael Kolb <kolby@google.com> | 2011-01-25 17:14:40 -0800 |
commit | 49f1583aba84ca4a5908b2185c734cf604ebb248 (patch) | |
tree | 02ac44c5a588dd29b5abca80236d0cf81c8975ff /res/layout | |
parent | c33e55b70b3b6be64a7a840b828602c426916424 (diff) | |
download | packages_apps_browser-49f1583aba84ca4a5908b2185c734cf604ebb248.zip packages_apps_browser-49f1583aba84ca4a5908b2185c734cf604ebb248.tar.gz packages_apps_browser-49f1583aba84ca4a5908b2185c734cf604ebb248.tar.bz2 |
fix tab title
http://b/issue?id=3384383
changed favicon background
cleaned up spacing
added fade to tab out animation
increase size of tab for chevron
Change-Id: I749c108691b73738839028b9cac89add86aa8b00
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/tab_title.xml | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/res/layout/tab_title.xml b/res/layout/tab_title.xml index 62ef2f3..e2c6d0a 100644 --- a/res/layout/tab_title.xml +++ b/res/layout/tab_title.xml @@ -18,17 +18,15 @@ android:orientation="horizontal"> <ImageView android:id="@+id/chevron" - android:layout_width="16dip" - android:layout_height="16dip" - android:layout_marginRight="4dip" + android:layout_width="wrap_content" + android:layout_height="match_parent" android:gravity="center_vertical" android:src="@drawable/ic_chevron" android:visibility="gone" /> <ImageView android:id="@+id/incognito" - android:layout_width="32dip" - android:layout_height="32dip" - android:layout_marginRight="8dip" + android:layout_width="wrap_content" + android:layout_height="match_parent" android:gravity="center_vertical" android:src="@drawable/ic_incognito_holo_dark" android:visibility="gone" /> @@ -36,19 +34,20 @@ android:id="@+id/favicon" android:layout_width="20dip" android:layout_height="20dip" - android:layout_marginRight="16dip" /> + android:layout_marginLeft="8dip" + android:layout_marginRight="8dip" /> <ImageView android:id="@+id/lock" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginRight="16dip" android:visibility="gone" /> <TextView android:id="@+id/title" android:layout_height="match_parent" android:layout_width="0dip" android:layout_weight="1.0" - android:layout_marginRight="16dip" + android:paddingLeft="8dip" + android:paddingRight="8dip" android:textAppearance="?android:attr/textAppearanceSmall" android:textColor="@color/white" android:gravity="center_vertical" @@ -60,6 +59,5 @@ android:background="?android:attr/selectableItemBackground" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginRight="16dip" android:src="@drawable/ic_tab_close" /> </merge> |