diff options
Diffstat (limited to 'res/layout/tab_title.xml')
-rw-r--r-- | res/layout/tab_title.xml | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/res/layout/tab_title.xml b/res/layout/tab_title.xml index d3d5176..a2da03d 100644 --- a/res/layout/tab_title.xml +++ b/res/layout/tab_title.xml @@ -12,45 +12,50 @@ --> <merge xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="0dip" - android:layout_weight="1.0" + android:layout_width="wrap_content" android:layout_height="match_parent" android:gravity="center_vertical" android:orientation="horizontal" - android:background="@drawable/tab_background" > + android:background="@drawable/tab_background"> <ImageView android:id="@+id/incognito" - android:layout_width="36dip" - android:layout_height="36dip" + android:layout_width="16dip" + android:layout_height="16dip" android:layout_marginLeft="3dip" - android:src="@drawable/ic_menu_incognito" + android:gravity="center_vertical" + android:src="@drawable/fav_incognito" android:visibility="gone" /> <ImageView android:id="@+id/favicon" android:layout_width="20dip" android:layout_height="20dip" - android:layout_marginLeft="3dip" /> + android:layout_marginLeft="16dip" /> <ImageView android:id="@+id/lock" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginLeft="6dip" + android:layout_marginLeft="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_marginLeft="3dip" + android:layout_marginLeft="16dip" android:textAppearance="?android:attr/textAppearanceSmall" - android:textColor="@color/black" - android:gravity="center_vertical|center_horizontal" - android:singleLine="true" - android:ellipsize="end" /> - <ImageView + android:textColor="@color/white" + android:gravity="center_vertical" + android:scrollHorizontally="true" + android:fadingEdge="horizontal" + android:fadingEdgeLength="24dip" + android:lines="1" + android:singleLine="true" /> + <ImageButton android:id="@+id/close" + android:background="@drawable/browserbarbutton" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginLeft="6dip" - android:src="@drawable/btn_close_window" /> + android:layout_marginLeft="16dip" + android:layout_marginRight="16dip" + android:src="@drawable/ic_tab_close" /> </merge> |