From f8bc884ad315aefbf6e71932f115f8c571ff9d6d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 29 Oct 2014 16:23:07 +0300 Subject: remove X more image prompt implement pager-based browser for article images, enabled if more than one detected add (unused) dimens for activity margins --- .../src/main/res/layout/article_images_image.xml | 29 ++++++++++++++++++++++ .../src/main/res/layout/article_images_pager.xml | 24 ++++++++++++++++++ .../src/main/res/layout/headlines_row.xml | 14 +++++------ .../src/main/res/layout/headlines_row_selected.xml | 15 +++++------ .../res/layout/headlines_row_selected_unread.xml | 15 +++++------ .../src/main/res/layout/headlines_row_unread.xml | 14 +++++------ .../src/main/res/menu/article_images_pager.xml | 9 +++++++ org.fox.ttrss/src/main/res/values/dimens.xml | 5 ++++ org.fox.ttrss/src/main/res/values/strings.xml | 11 ++++++++ 9 files changed, 108 insertions(+), 28 deletions(-) create mode 100644 org.fox.ttrss/src/main/res/layout/article_images_image.xml create mode 100644 org.fox.ttrss/src/main/res/layout/article_images_pager.xml create mode 100644 org.fox.ttrss/src/main/res/menu/article_images_pager.xml create mode 100644 org.fox.ttrss/src/main/res/values/dimens.xml (limited to 'org.fox.ttrss/src/main/res') diff --git a/org.fox.ttrss/src/main/res/layout/article_images_image.xml b/org.fox.ttrss/src/main/res/layout/article_images_image.xml new file mode 100644 index 00000000..b78410ad --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/article_images_image.xml @@ -0,0 +1,29 @@ + + + + + + + + + \ No newline at end of file diff --git a/org.fox.ttrss/src/main/res/layout/article_images_pager.xml b/org.fox.ttrss/src/main/res/layout/article_images_pager.xml new file mode 100644 index 00000000..2735cc90 --- /dev/null +++ b/org.fox.ttrss/src/main/res/layout/article_images_pager.xml @@ -0,0 +1,24 @@ + +/* + android:paddingLeft="@dimen/activity_horizontal_margin" + android:paddingRight="@dimen/activity_horizontal_margin" + android:paddingTop="@dimen/activity_vertical_margin" + android:paddingBottom="@dimen/activity_vertical_margin"> */ + + + + + + + diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row.xml b/org.fox.ttrss/src/main/res/layout/headlines_row.xml index 8b2107c1..ef44fde3 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml @@ -94,13 +94,13 @@ android:cropToPadding="true" android:visibility="visible" /> - + diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_selected.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_selected.xml index 6d8a68ab..978b5b4e 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_selected.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_selected.xml @@ -94,13 +94,14 @@ android:cropToPadding="true" android:visibility="visible" /> - + + diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread.xml index 47e24ab7..680158e0 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_selected_unread.xml @@ -95,13 +95,14 @@ android:cropToPadding="true" android:visibility="visible" /> - + + diff --git a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml index 83e60fbb..0e671095 100644 --- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml +++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml @@ -95,13 +95,13 @@ android:cropToPadding="true" android:visibility="visible" /> - + diff --git a/org.fox.ttrss/src/main/res/menu/article_images_pager.xml b/org.fox.ttrss/src/main/res/menu/article_images_pager.xml new file mode 100644 index 00000000..bafc53ab --- /dev/null +++ b/org.fox.ttrss/src/main/res/menu/article_images_pager.xml @@ -0,0 +1,9 @@ + + + diff --git a/org.fox.ttrss/src/main/res/values/dimens.xml b/org.fox.ttrss/src/main/res/values/dimens.xml new file mode 100644 index 00000000..47c82246 --- /dev/null +++ b/org.fox.ttrss/src/main/res/values/dimens.xml @@ -0,0 +1,5 @@ + + + 16dp + 16dp + diff --git a/org.fox.ttrss/src/main/res/values/strings.xml b/org.fox.ttrss/src/main/res/values/strings.xml index f452ca05..32608dc6 100644 --- a/org.fox.ttrss/src/main/res/values/strings.xml +++ b/org.fox.ttrss/src/main/res/values/strings.xml @@ -149,10 +149,12 @@ Dim status bar Dim status bar when reading %1$d comments + Trial mode, only one day left. Trial mode, %1$d days left. + Unlock full version Trial expired To continue using Tiny Tiny RSS please unlock the full version by purchasing the key. @@ -198,17 +200,21 @@ Light theme is not supported on Honeycomb Mark read on scroll Headlines will be marked read when scrolling past them + Mark %1$d article as read? Mark %1$d articles as read? + Confirm marking articles as read by %1$s + No unread articles One unread article %1$d unread articles + Headline text size Mark all articles in %1$s as read? Device Default @@ -233,4 +239,9 @@ Show full content Show article image (%1$d more) + ArticleImagesPagerActivity + Hello world! + Settings + Error loading image. + -- cgit v1.2.3