Adjustments for the look of the tab page.
Remove http://; center "New tab"
Use a drawable with a hi dpi version
Add some padding
Add a divider before the close button
Change-Id: I1e7c98e3e03f2a7b3c8df6db1917a604a6309fb8
diff --git a/res/layout/tab_view.xml b/res/layout/tab_view.xml
index 8f42937..167621e 100644
--- a/res/layout/tab_view.xml
+++ b/res/layout/tab_view.xml
@@ -24,8 +24,8 @@
<com.android.browser.FakeWebView android:id="@+id/screen_shot"
android:layout_width="40dip"
android:layout_height="40dip"
- android:layout_marginLeft="4dip"
- android:layout_marginRight="4dip"
+ android:layout_marginLeft="8dip"
+ android:layout_marginRight="8dip"
/>
<LinearLayout
android:layout_width="0dip"
@@ -50,11 +50,19 @@
android:ellipsize="end"
/>
</LinearLayout>
+ <View android:id="@+id/divider"
+ android:background="#ff313431"
+ android:layout_width="1dip"
+ android:layout_height="fill_parent"
+ android:layout_marginLeft="8dip"
+ android:layout_marginTop="5dip"
+ android:layout_marginBottom="5dip"
+ />
<ImageView android:id="@+id/close"
- android:src="@drawable/ic_close_tab"
+ android:src="@drawable/ic_btn_close_panel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginLeft="4dip"
- android:layout_marginRight="4dip"
+ android:layout_marginLeft="8dip"
+ android:layout_marginRight="8dip"
/>
</LinearLayout>