summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/layout-port/headlines_row.xml1
-rw-r--r--res/layout-port/headlines_row_selected.xml1
-rw-r--r--res/layout-port/headlines_row_unread.xml1
-rw-r--r--res/layout-xlarge/headlines_row.xml1
-rw-r--r--res/layout-xlarge/headlines_row_selected.xml1
-rw-r--r--res/layout-xlarge/headlines_row_unread.xml1
-rw-r--r--res/layout/headlines_row.xml1
-rw-r--r--res/layout/headlines_row_selected.xml1
-rw-r--r--res/layout/headlines_row_unread.xml1
-rw-r--r--src/org/fox/ttrss/HeadlinesFragment.java6
-rw-r--r--src/org/fox/ttrss/OfflineHeadlinesFragment.java6
11 files changed, 21 insertions, 0 deletions
diff --git a/res/layout-port/headlines_row.xml b/res/layout-port/headlines_row.xml
index a981cb21..d957ae9d 100644
--- a/res/layout-port/headlines_row.xml
+++ b/res/layout-port/headlines_row.xml
@@ -13,6 +13,7 @@
android:layout_height="match_parent" >
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorNormal"
diff --git a/res/layout-port/headlines_row_selected.xml b/res/layout-port/headlines_row_selected.xml
index bb63a41f..50eadb49 100644
--- a/res/layout-port/headlines_row_selected.xml
+++ b/res/layout-port/headlines_row_selected.xml
@@ -14,6 +14,7 @@
android:layout_height="match_parent" >
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorSelected"
diff --git a/res/layout-port/headlines_row_unread.xml b/res/layout-port/headlines_row_unread.xml
index 0b79e4b3..fcf1c387 100644
--- a/res/layout-port/headlines_row_unread.xml
+++ b/res/layout-port/headlines_row_unread.xml
@@ -14,6 +14,7 @@
android:layout_height="match_parent" >
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorUnread"
diff --git a/res/layout-xlarge/headlines_row.xml b/res/layout-xlarge/headlines_row.xml
index 4ac32cd3..73e6b941 100644
--- a/res/layout-xlarge/headlines_row.xml
+++ b/res/layout-xlarge/headlines_row.xml
@@ -16,6 +16,7 @@
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorNormal"
diff --git a/res/layout-xlarge/headlines_row_selected.xml b/res/layout-xlarge/headlines_row_selected.xml
index fc86c1f9..00171f0d 100644
--- a/res/layout-xlarge/headlines_row_selected.xml
+++ b/res/layout-xlarge/headlines_row_selected.xml
@@ -14,6 +14,7 @@
android:orientation="horizontal" >
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorSelected"
diff --git a/res/layout-xlarge/headlines_row_unread.xml b/res/layout-xlarge/headlines_row_unread.xml
index b5a8cf84..1ba714ab 100644
--- a/res/layout-xlarge/headlines_row_unread.xml
+++ b/res/layout-xlarge/headlines_row_unread.xml
@@ -14,6 +14,7 @@
android:orientation="horizontal" >
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorUnread"
diff --git a/res/layout/headlines_row.xml b/res/layout/headlines_row.xml
index 253de8d6..77e98234 100644
--- a/res/layout/headlines_row.xml
+++ b/res/layout/headlines_row.xml
@@ -16,6 +16,7 @@
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorNormal"
diff --git a/res/layout/headlines_row_selected.xml b/res/layout/headlines_row_selected.xml
index d691f7ef..519b7839 100644
--- a/res/layout/headlines_row_selected.xml
+++ b/res/layout/headlines_row_selected.xml
@@ -14,6 +14,7 @@
android:orientation="horizontal" >
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorSelected"
diff --git a/res/layout/headlines_row_unread.xml b/res/layout/headlines_row_unread.xml
index f89faa5a..bf980749 100644
--- a/res/layout/headlines_row_unread.xml
+++ b/res/layout/headlines_row_unread.xml
@@ -14,6 +14,7 @@
android:orientation="horizontal" >
<ImageView
+ android:id="@+id/headlines_separator"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?headlineSeparatorUnread"
diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java
index c1c69774..90855aa5 100644
--- a/src/org/fox/ttrss/HeadlinesFragment.java
+++ b/src/org/fox/ttrss/HeadlinesFragment.java
@@ -442,6 +442,12 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
}
}
+ ImageView separator = (ImageView)v.findViewById(R.id.headlines_separator);
+
+ if (separator != null && m_onlineServices.isSmallScreen()) {
+ separator.setVisibility(View.GONE);
+ }
+
TextView content = (TextView)v.findViewById(R.id.content);
if (content != null) {
diff --git a/src/org/fox/ttrss/OfflineHeadlinesFragment.java b/src/org/fox/ttrss/OfflineHeadlinesFragment.java
index 98083de1..46ebca76 100644
--- a/src/org/fox/ttrss/OfflineHeadlinesFragment.java
+++ b/src/org/fox/ttrss/OfflineHeadlinesFragment.java
@@ -349,6 +349,12 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
}
}
+ ImageView separator = (ImageView)v.findViewById(R.id.headlines_separator);
+
+ if (separator != null && m_offlineServices.isSmallScreen()) {
+ separator.setVisibility(View.GONE);
+ }
+
TextView content = (TextView)v.findViewById(R.id.content);
if (content != null) {