hide headlines row separator in small screen mode
This commit is contained in:
parent
8caa0fcd82
commit
7101a92b06
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/headlines_separator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?headlineSeparatorNormal"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -16,6 +16,7 @@
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/headlines_separator"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:background="?headlineSeparatorNormal"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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) {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user