From 4e667479aec485b2f5b58b76e679d2400d383f7e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 31 Dec 2012 12:49:30 +0400 Subject: [PATCH] layout improvements, add missing files --- res/layout-sw600dp/feeds.xml | 6 +- res/layout-sw600dp/headlines.xml | 2 +- src/android/webkit/WebViewClassic.java | 14 + .../android/view/web/TitleBarWebView.java | 353 ++++++++++++++++++ src/org/fox/ttrss/ArticleFragment.java | 4 + src/org/fox/ttrss/FeedsActivity.java | 24 +- src/org/fox/ttrss/HeadlinesActivity.java | 6 +- .../fox/ttrss/offline/OfflineActivity.java | 2 + .../ttrss/offline/OfflineFeedsActivity.java | 49 ++- 9 files changed, 447 insertions(+), 13 deletions(-) create mode 100644 src/android/webkit/WebViewClassic.java create mode 100644 src/com/nobu_games/android/view/web/TitleBarWebView.java diff --git a/res/layout-sw600dp/feeds.xml b/res/layout-sw600dp/feeds.xml index 3e75a37c..5f37b900 100644 --- a/res/layout-sw600dp/feeds.xml +++ b/res/layout-sw600dp/feeds.xml @@ -2,6 +2,7 @@ android:id="@+id/main" android:layout_width="fill_parent" android:layout_height="fill_parent" + android:background="?headlinesBackgroundSolid" android:orientation="vertical" > @@ -40,7 +42,7 @@ android:id="@+id/headlines_fragment" android:layout_width="0dp" android:layout_height="match_parent" - android:layout_weight="0.6" + android:layout_weight="2" android:background="?headlinesBackground" > diff --git a/res/layout-sw600dp/headlines.xml b/res/layout-sw600dp/headlines.xml index 54eabd01..b6cb1c38 100644 --- a/res/layout-sw600dp/headlines.xml +++ b/res/layout-sw600dp/headlines.xml @@ -34,7 +34,7 @@ android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.4" - android:background="?headlinesBackground" > + android:background="?feedlistBackground" >