From 4ad9fcdc6f25c157e4e5c13d82cf03a9f6142a1b Mon Sep 17 00:00:00 2001 From: Coffeemakr Date: Sun, 2 Jul 2017 22:22:37 +0200 Subject: [PATCH] Revert error/retry/loading changes --- app/src/main/res/layout/fragment_channel.xml | 30 +++++++++++----- app/src/main/res/layout/fragment_search.xml | 27 +++++++++++---- .../main/res/layout/fragment_video_detail.xml | 34 +++++++++++++++---- .../main/res/layout/loading_error_retry.xml | 26 -------------- 4 files changed, 71 insertions(+), 46 deletions(-) delete mode 100644 app/src/main/res/layout/loading_error_retry.xml diff --git a/app/src/main/res/layout/fragment_channel.xml b/app/src/main/res/layout/fragment_channel.xml index 03e561a79..4393ca190 100644 --- a/app/src/main/res/layout/fragment_channel.xml +++ b/app/src/main/res/layout/fragment_channel.xml @@ -1,9 +1,8 @@ - + android:layout_height="match_parent"> - - + android:layout_centerInParent="true" + android:indeterminate="true" + android:visibility="gone" + tools:visibility="visible" /> + + + + + diff --git a/app/src/main/res/layout/fragment_search.xml b/app/src/main/res/layout/fragment_search.xml index a779a18e0..9a7d5f6a2 100644 --- a/app/src/main/res/layout/fragment_search.xml +++ b/app/src/main/res/layout/fragment_search.xml @@ -1,5 +1,5 @@ - - - \ No newline at end of file + android:layout_centerInParent="true" + android:indeterminate="true" + android:visibility="gone" + tools:visibility="visible" /> + + + + + diff --git a/app/src/main/res/layout/fragment_video_detail.xml b/app/src/main/res/layout/fragment_video_detail.xml index 7e7fff952..4ce77921d 100644 --- a/app/src/main/res/layout/fragment_video_detail.xml +++ b/app/src/main/res/layout/fragment_video_detail.xml @@ -54,12 +54,11 @@ - + android:background="?android:windowBackground"> + + + + + + + @@ -364,9 +388,7 @@ - - - + diff --git a/app/src/main/res/layout/loading_error_retry.xml b/app/src/main/res/layout/loading_error_retry.xml deleted file mode 100644 index 081dc3e6d..000000000 --- a/app/src/main/res/layout/loading_error_retry.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - \ No newline at end of file