summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-06-02 22:18:15 +0300
committerAndrew Dolgov <[email protected]>2017-06-02 22:18:15 +0300
commit28a371a1b4ecd7ea7213f0109317e107a4983f54 (patch)
treeba00f618dbfce44cb53166e273886bdd79d29298 /org.fox.ttrss/src/main/res/layout
parent83d096b11bf090a9a2cf8f6845c0efbda6d651b8 (diff)
fix offline headline fragment not expecting recycler view
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout')
-rw-r--r--org.fox.ttrss/src/main/res/layout/fragment_headlines_offline.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/fragment_headlines_offline.xml b/org.fox.ttrss/src/main/res/layout/fragment_headlines_offline.xml
new file mode 100644
index 00000000..c263c852
--- /dev/null
+++ b/org.fox.ttrss/src/main/res/layout/fragment_headlines_offline.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@+id/headlines_fragment"
+ android:background="?android:colorBackground"
+ android:layout_width="fill_parent"
+ android:layout_height="fill_parent">
+
+ <android.support.v4.widget.SwipeRefreshLayout
+ android:id="@+id/headlines_swipe_container"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" >
+
+ <ListView
+ android:id="@+id/headlines_list"
+ android:drawSelectorOnTop="true"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent" />
+ </android.support.v4.widget.SwipeRefreshLayout>
+
+ <com.shamanland.fab.FloatingActionButton
+ android:id="@+id/headlines_fab"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom|right"
+ android:layout_marginRight="16dp"
+ android:layout_marginBottom="20dp"
+ app:floatingActionButtonColor="?colorAccent"
+ android:src="@drawable/ic_refresh"
+ />
+
+</FrameLayout> \ No newline at end of file