the cards, they are no more

This commit is contained in:
Andrew Dolgov 2015-02-12 21:09:53 +03:00
parent b099a8e030
commit 5041df3258
4 changed files with 10 additions and 16 deletions

View File

@ -349,10 +349,10 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
ListView list = (ListView)view.findViewById(R.id.headlines_list);
if (!m_compactLayoutMode) {
/* if (!m_compactLayoutMode) {
list.setDividerHeight(0);
list.setDivider(null);
}
} */
if (m_prefs.getBoolean("headlines_mark_read_scroll", false)) {
WindowManager wm = (WindowManager) m_activity.getSystemService(Context.WINDOW_SERVICE);

View File

@ -304,10 +304,10 @@ public class OfflineHeadlinesFragment extends Fragment implements OnItemClickLis
ListView list = (ListView)view.findViewById(R.id.headlines_list);
if (!m_compactLayoutMode) {
/* if (!m_compactLayoutMode) {
list.setDividerHeight(0);
list.setDivider(null);
}
} */
if (m_prefs.getBoolean("headlines_mark_read_scroll", false)) {
WindowManager wm = (WindowManager) m_activity.getSystemService(Context.WINDOW_SERVICE);

View File

@ -1,14 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
xmlns:card_view="http://schemas.android.com/apk/res-auto"
<FrameLayout
xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/headlines_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
card_view:cardElevation="2dp"
card_view:cardUseCompatPadding="true"
card_view:cardBackgroundColor="?headlineNormalBackground"
android:background="?headlineNormalBackground"
tools:ignore="HardcodedText" >
<TableLayout
@ -188,4 +185,4 @@
</TableRow>
</TableLayout>
</android.support.v7.widget.CardView>
</FrameLayout>

View File

@ -1,14 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<android.support.v7.widget.CardView
xmlns:card_view="http://schemas.android.com/apk/res-auto"
<FrameLayout
xmlns:tools="http://schemas.android.com/tools"
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/headlines_row"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
card_view:cardElevation="2dp"
card_view:cardUseCompatPadding="true"
card_view:cardBackgroundColor="?headlineUnreadBackground"
android:background="?headlineUnreadBackground"
tools:ignore="HardcodedText" >
<TableLayout
@ -189,4 +186,4 @@
</TableRow>
</TableLayout>
</android.support.v7.widget.CardView>
</FrameLayout>