diff options
Diffstat (limited to 'app/src/main/res/layout/fragment_stories.xml')
-rw-r--r-- | app/src/main/res/layout/fragment_stories.xml | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/app/src/main/res/layout/fragment_stories.xml b/app/src/main/res/layout/fragment_stories.xml index c84df0f3d..4eeeeab76 100644 --- a/app/src/main/res/layout/fragment_stories.xml +++ b/app/src/main/res/layout/fragment_stories.xml @@ -15,14 +15,14 @@ see <http://www.gnu.org/licenses>. --> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:paddingLeft="@dimen/fab_margin" - android:paddingRight="@dimen/fab_margin" android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + android:paddingLeft="@dimen/fab_margin" + android:paddingRight="@dimen/fab_margin"> <!-- Listview Notifications --> <androidx.swiperefreshlayout.widget.SwipeRefreshLayout - android:layout_width="match_parent" android:id="@+id/swipeContainer" + android:layout_width="match_parent" android:layout_height="match_parent"> <androidx.recyclerview.widget.RecyclerView @@ -34,28 +34,28 @@ <RelativeLayout android:id="@+id/no_action" - android:visibility="gone" android:layout_width="match_parent" - android:layout_height="wrap_content"> + android:layout_height="wrap_content" + android:visibility="gone"> <TextView - android:padding="10dp" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center" android:gravity="center" + android:padding="10dp" + android:text="@string/no_stories" android:textSize="25sp" - android:layout_gravity="center" android:textStyle="italic|bold" - android:typeface="serif" - android:text="@string/no_stories" - android:layout_width="match_parent" - android:layout_height="match_parent" /> + android:typeface="serif" /> </RelativeLayout> <!-- Main Loader --> <RelativeLayout android:id="@+id/loader" - android:visibility="gone" android:layout_width="match_parent" android:layout_height="match_parent" - android:gravity="center"> + android:gravity="center" + android:visibility="gone"> <ProgressBar android:layout_width="wrap_content" @@ -65,12 +65,12 @@ <!-- Loader for next notifications --> <RelativeLayout android:id="@+id/loading_next_stories" - android:visibility="gone" android:layout_width="match_parent" + android:layout_height="20dp" android:layout_alignParentBottom="true" android:layout_gravity="bottom|center_horizontal" android:gravity="bottom|center_horizontal" - android:layout_height="20dp"> + android:visibility="gone"> <ProgressBar android:layout_width="match_parent" |