diff options
Diffstat (limited to 'res/layout/gpodnet_podcast_list.xml')
-rw-r--r-- | res/layout/gpodnet_podcast_list.xml | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/res/layout/gpodnet_podcast_list.xml b/res/layout/gpodnet_podcast_list.xml index e69c2dbee..149b52033 100644 --- a/res/layout/gpodnet_podcast_list.xml +++ b/res/layout/gpodnet_podcast_list.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent"> @@ -21,14 +21,25 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/progressBar" - android:layout_gravity="center" + android:layout_centerInParent="true" android:indeterminateOnly="true"/> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/txtvError" - android:layout_gravity="center" + android:layout_centerInParent="true" android:visibility="gone" + android:textAlignment="center" + android:layout_margin="16dp" android:textSize="@dimen/text_size_small"/> -</FrameLayout>
\ No newline at end of file + <Button + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:id="@+id/butRetry" + android:text="@string/retry_label" + android:layout_margin="16dp" + android:visibility="gone" + android:layout_centerHorizontal="true" + android:layout_below="@id/txtvError"/> +</RelativeLayout>
\ No newline at end of file |