gello: cleanup resources
fix npe on tablets too
Change-Id: I1ea17887672813b2de72a05f63c6c4f695605459
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
diff --git a/res/layout-sw600dp/snapshot_item.xml b/res/layout-sw600dp/snapshot_item.xml
index c3ce866..7fc1782 100644
--- a/res/layout-sw600dp/snapshot_item.xml
+++ b/res/layout-sw600dp/snapshot_item.xml
@@ -21,12 +21,12 @@
android:padding="@dimen/combo_snapshot_item_padding">
<ImageView
android:id="@+id/thumb"
- android:src="@drawable/thumbnail_bookmarks_widget_no_bookmark_holo"
+ android:src="@color/white"
android:layout_width="@dimen/bookmarkThumbnailWidth"
android:layout_height="@dimen/bookmarkThumbnailHeight"
android:scaleType="centerCrop"
android:cropToPadding="true"
- android:background="@drawable/border_thumb_bookmarks_widget_holo" />
+ android:background="@color/white" />
<TextView
android:id="@+id/date"
android:layout_width="wrap_content"
@@ -34,7 +34,6 @@
android:layout_alignBottom="@id/thumb"
android:layout_alignStart="@id/thumb"
android:layout_alignEnd="@id/thumb"
- android:background="@drawable/overlay_url_bookmark_widget_holo"
android:singleLine="true"
android:ellipsize="end"
android:textSize="14sp"
diff --git a/res/layout-sw600dp/title_bar_nav.xml b/res/layout-sw600dp/title_bar_nav.xml
index d8935b3..69017c7 100644
--- a/res/layout-sw600dp/title_bar_nav.xml
+++ b/res/layout-sw600dp/title_bar_nav.xml
@@ -76,6 +76,17 @@
android:paddingEnd="6dp"
android:contentDescription="@string/page_info"/>
+ <!-- Cosmetic separator -->
+ <View
+ android:id="@+id/separator"
+ android:layout_width="1dp"
+ android:layout_height="36dp"
+ android:paddingTop="6dp"
+ android:paddingBottom="6dp"
+ android:paddingStart="4dp"
+ android:paddingEnd="4dp"
+ android:background="@color/icon_white" />
+
<com.android.browser.UrlInputView
android:id="@+id/url"
style="@style/Suggestions"