summaryrefslogtreecommitdiff
path: root/org.fox.ttrss/src/main/res/layout/feeds_fragment.xml
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2014-11-06 19:04:59 +0300
committerAndrew Dolgov <[email protected]>2014-11-06 19:04:59 +0300
commit6be9af46004d4d8bcb39fcca0a119754434b96cd (patch)
treeb2df66ac64025939bd71a5afc0a4169853aad71e /org.fox.ttrss/src/main/res/layout/feeds_fragment.xml
parent73cf0c07a68f3c35e3d397e56a7acedd637d5e42 (diff)
add loading progressbars to feeds/cats fragments
replace open parent button with a more familiar to msdos users ".." mnemonic near the listview top
Diffstat (limited to 'org.fox.ttrss/src/main/res/layout/feeds_fragment.xml')
-rw-r--r--org.fox.ttrss/src/main/res/layout/feeds_fragment.xml26
1 files changed, 11 insertions, 15 deletions
diff --git a/org.fox.ttrss/src/main/res/layout/feeds_fragment.xml b/org.fox.ttrss/src/main/res/layout/feeds_fragment.xml
index 4c5ad73a..ae82bdd2 100644
--- a/org.fox.ttrss/src/main/res/layout/feeds_fragment.xml
+++ b/org.fox.ttrss/src/main/res/layout/feeds_fragment.xml
@@ -1,15 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/feeds_fragment"
- android:layout_width="match_parent"
- android:orientation="vertical"
+ android:layout_width="fill_parent"
android:layout_height="fill_parent" >
<android.support.v4.widget.SwipeRefreshLayout
android:id="@+id/feeds_swipe_container"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_weight="1">
+ android:layout_height="match_parent">
<ListView
android:id="@+id/feeds"
@@ -21,15 +19,6 @@
</ListView>
</android.support.v4.widget.SwipeRefreshLayout>
- <Button
- style="?android:attr/buttonStyleSmall"
- android:background="?parentBtnBackground"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/open_parent"
- android:layout_weight="0"
- android:id="@+id/open_parent" />
-
<TextView
android:id="@+id/no_feeds"
android:layout_width="wrap_content"
@@ -40,4 +29,11 @@
android:visibility="gone" >
</TextView>
-</LinearLayout> \ No newline at end of file
+ <ProgressBar
+ style="?android:attr/progressBarStyleLarge"
+ android:visibility="gone"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:id="@+id/feeds_loading_bar"
+ android:layout_gravity="center" />
+</FrameLayout> \ No newline at end of file