aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_home_screen.xml
diff options
context:
space:
mode:
authorCamil Staps2015-06-10 17:55:51 +0200
committerCamil Staps2015-06-10 17:55:51 +0200
commit2a4efbcf0dd087b9880be132fbee862eb8b80ae0 (patch)
tree3c20d533fc27fad788d7092b708085493015dde1 /app/src/main/res/layout/fragment_home_screen.xml
parentFixed bug where fragments were shown over one another (diff)
Cleanup
Diffstat (limited to 'app/src/main/res/layout/fragment_home_screen.xml')
-rwxr-xr-xapp/src/main/res/layout/fragment_home_screen.xml23
1 files changed, 19 insertions, 4 deletions
diff --git a/app/src/main/res/layout/fragment_home_screen.xml b/app/src/main/res/layout/fragment_home_screen.xml
index b8c5e17..d9db383 100755
--- a/app/src/main/res/layout/fragment_home_screen.xml
+++ b/app/src/main/res/layout/fragment_home_screen.xml
@@ -1,8 +1,23 @@
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:tools="http://schemas.android.com/tools"
+ tools:context="org.rssin.android.HomeScreenActivity.AllFeedsFragment"
+ android:id="@+id/refreshlayout"
android:layout_height="match_parent"
+ android:layout_width="match_parent"
android:padding="0dp"
- tools:context="org.rssin.android.HomeScreenActivity.AllFeedsFragment">
+ android:orientation="vertical">
+
+ <TextView
+ android:id="@+id/loading"
+ android:layout_width="fill_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/loading"
+ android:visibility="visible"
+ android:padding="@dimen/listview_item_padding"
+ android:textSize="@dimen/font_size_normal"
+ android:gravity="center_horizontal"
+ android:background="@drawable/msg_loading"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/unified_inbox_feeditems"
@@ -10,4 +25,4 @@
android:layout_width="match_parent"
android:layout_height="match_parent"/>
-</RelativeLayout>
+</LinearLayout>