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); ListView list = (ListView)view.findViewById(R.id.headlines_list);
if (!m_compactLayoutMode) { /* if (!m_compactLayoutMode) {
list.setDividerHeight(0); list.setDividerHeight(0);
list.setDivider(null); list.setDivider(null);
} } */
if (m_prefs.getBoolean("headlines_mark_read_scroll", false)) { if (m_prefs.getBoolean("headlines_mark_read_scroll", false)) {
WindowManager wm = (WindowManager) m_activity.getSystemService(Context.WINDOW_SERVICE); 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); ListView list = (ListView)view.findViewById(R.id.headlines_list);
if (!m_compactLayoutMode) { /* if (!m_compactLayoutMode) {
list.setDividerHeight(0); list.setDividerHeight(0);
list.setDivider(null); list.setDivider(null);
} } */
if (m_prefs.getBoolean("headlines_mark_read_scroll", false)) { if (m_prefs.getBoolean("headlines_mark_read_scroll", false)) {
WindowManager wm = (WindowManager) m_activity.getSystemService(Context.WINDOW_SERVICE); WindowManager wm = (WindowManager) m_activity.getSystemService(Context.WINDOW_SERVICE);

View File

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

View File

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