diff options
author | asdoi <asdoi@t-online.de> | 2020-09-27 19:52:53 +0200 |
---|---|---|
committer | asdoi <asdoi@t-online.de> | 2020-09-27 19:52:53 +0200 |
commit | eb1ae6e71e68ab20831fae5eb1ca294b92802c16 (patch) | |
tree | 497d88d459cacefdd37376d1046bd34c5e0d03c4 /app/src/main/res/layout | |
parent | fe2bfc0626f7e1e2189a0dc32fca4e0af0d1f9f8 (diff) | |
download | AntennaPod-eb1ae6e71e68ab20831fae5eb1ca294b92802c16.zip |
add retry button if QuickFeedDiscovery failed
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/quick_feed_discovery.xml | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/app/src/main/res/layout/quick_feed_discovery.xml b/app/src/main/res/layout/quick_feed_discovery.xml index b125206c1..0c55311e3 100644 --- a/app/src/main/res/layout/quick_feed_discovery.xml +++ b/app/src/main/res/layout/quick_feed_discovery.xml @@ -4,6 +4,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" + xmlns:tools="http://schemas.android.com/tools" android:orientation="vertical"> <LinearLayout @@ -54,12 +55,32 @@ android:layout_centerInParent="true" android:layout_marginTop="30dp"/> - <TextView + <LinearLayout android:id="@+id/discover_error" - android:textColor="@color/download_failed_red" android:layout_width="match_parent" + android:layout_height="wrap_content" android:layout_centerInParent="true" - android:layout_height="wrap_content"/> + android:gravity="center" + android:orientation="vertical"> + + <TextView + android:id="@+id/discover_error_txtV" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:gravity="center" + android:layout_margin="16dp" + android:textSize="@dimen/text_size_small" + tools:text="Error message" + tools:background="@android:color/holo_red_light" /> + + <Button + android:id="@+id/discover_error_retry_btn" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_margin="16dp" + android:text="@string/retry_label" + tools:background="@android:color/holo_red_light" /> + </LinearLayout> </RelativeLayout> |