summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-06-01 17:03:11 +0300
committerAndrew Dolgov <[email protected]>2017-06-01 17:03:11 +0300
commit583578fe8afcdb1778b37c38f6e4ccc56c35612e (patch)
tree713b1b2ab31473995d5cd5503452bcac4b797474 /org.fox.ttrss/src/main/res/layout
parent1ca3a7d681ae8088148bfa065aa726e07e9b5b4f (diff)
WIP: headlines list switched to recycler view
known issues: context menu not working
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rw-r--r--org.fox.ttrss/src/main/res/layout/fragment_headlines.xml13
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row.xml2
-rwxr-xr-xorg.fox.ttrss/src/main/res/layout/headlines_row_unread.xml2
3 files changed, 3 insertions, 14 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/fragment_headlines.xml b/org.fox.ttrss/src/main/res/layout/fragment_headlines.xml
index 29809c0a..2406ddbe 100644
--- a/org.fox.ttrss/src/main/res/layout/fragment_headlines.xml
+++ b/org.fox.ttrss/src/main/res/layout/fragment_headlines.xml
@@ -11,24 +11,13 @@
android:layout_width="match_parent"
android:layout_height="match_parent" >
- <ListView
+ <android.support.v7.widget.RecyclerView
android:id="@+id/headlines_list"
android:drawSelectorOnTop="true"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</android.support.v4.widget.SwipeRefreshLayout>
- <!-- <TextView
- android:id="@+id/no_headlines"
- android:clickable="true"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:text="@string/no_headlines"
- android:textAppearance="?android:attr/textAppearanceLarge"
- android:visibility="invisible" >
- </TextView> -->
-
<com.shamanland.fab.FloatingActionButton
android:id="@+id/headlines_fab"
android:layout_width="wrap_content"
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 1d4e135e..013000c9 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row.xml
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/headlines_row"
android:layout_width="wrap_content"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
tools:ignore="HardcodedText">
<TableLayout
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 3c341f14..f2f0a92b 100755
--- a/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
+++ b/org.fox.ttrss/src/main/res/layout/headlines_row_unread.xml
@@ -3,7 +3,7 @@
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/headlines_row"
android:layout_width="wrap_content"
- android:layout_height="match_parent"
+ android:layout_height="wrap_content"
android:background="?headlineUnreadBackground"
tools:ignore="HardcodedText">