From 416d155e85ec4fbc2562c804beec7a70a06f72e7 Mon Sep 17 00:00:00 2001 From: lpetrus Date: Sun, 2 Sep 2012 15:10:57 +0200 Subject: [PATCH] Small tablet support (< 8") * Portrait mode ** feed list is now smaller and article list is bigger * Landscape mode ** small tablets display always only two columns --- res/layout-sw600dp-port/main.xml | 5 +-- src/org/fox/ttrss/CommonActivity.java | 25 ++++++++++++++- src/org/fox/ttrss/MainActivity.java | 32 ++++++++++++++++--- .../fox/ttrss/offline/OfflineActivity.java | 6 ++-- 4 files changed, 59 insertions(+), 9 deletions(-) diff --git a/res/layout-sw600dp-port/main.xml b/res/layout-sw600dp-port/main.xml index 40f28d6c..02732ba4 100644 --- a/res/layout-sw600dp-port/main.xml +++ b/res/layout-sw600dp-port/main.xml @@ -11,9 +11,9 @@ @@ -21,6 +21,7 @@ android:id="@+id/vertical_fragment_container" android:layout_width="match_parent" android:layout_height="match_parent" + android:layout_weight="0.4" android:orientation="vertical" >