From 3776553208fc80690e281f325d93d7bc6a779be4 Mon Sep 17 00:00:00 2001 From: Sagar Dhawan Date: Fri, 31 Jul 2015 18:46:35 -0700 Subject: Fix crash when viewing pages offline on Tablets Fixed multiple issues with Snapshot tabs on tablets. --- res/layout-sw600dp/snapshot_item.xml | 42 +++++++++------------- res/layout-sw600dp/title_bar_snapshot.xml | 58 ++++++++++++++++++++----------- 2 files changed, 53 insertions(+), 47 deletions(-) (limited to 'res') diff --git a/res/layout-sw600dp/snapshot_item.xml b/res/layout-sw600dp/snapshot_item.xml index 41b465b8..c3ce866c 100644 --- a/res/layout-sw600dp/snapshot_item.xml +++ b/res/layout-sw600dp/snapshot_item.xml @@ -28,7 +28,7 @@ android:cropToPadding="true" android:background="@drawable/border_thumb_bookmarks_widget_holo" /> - - - + + android:layout_alignStart="@+id/title" + android:layout_alignTop="@+id/title" + android:layout_alignBottom="@+id/title" + android:scaleType="fitXY" /> diff --git a/res/layout-sw600dp/title_bar_snapshot.xml b/res/layout-sw600dp/title_bar_snapshot.xml index 434b2f14..8c8189ab 100644 --- a/res/layout-sw600dp/title_bar_snapshot.xml +++ b/res/layout-sw600dp/title_bar_snapshot.xml @@ -18,37 +18,53 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" + android:background="@android:color/white" android:orientation="horizontal" > - - + + android:paddingEnd="16dip" + android:scaleType="fitCenter" /> + + + + + android:id="@+id/more" + style="@style/OverflowButton" /> + \ No newline at end of file -- cgit v1.2.3