diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-07-06 00:36:53 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-07-06 00:36:53 +0000 |
commit | 4204ce47737afc3a40e678688c3e168f8f2caa52 (patch) | |
tree | a99ab87d663638c9570605a065810256dbfe81e9 /app/src/main/res | |
parent | b031047d122bd665f20741effa28d350a247cf0a (diff) | |
download | infinity-for-reddit-4204ce47737afc3a40e678688c3e168f8f2caa52.tar infinity-for-reddit-4204ce47737afc3a40e678688c3e168f8f2caa52.tar.gz infinity-for-reddit-4204ce47737afc3a40e678688c3e168f8f2caa52.tar.bz2 infinity-for-reddit-4204ce47737afc3a40e678688c3e168f8f2caa52.tar.lz infinity-for-reddit-4204ce47737afc3a40e678688c3e168f8f2caa52.tar.xz infinity-for-reddit-4204ce47737afc3a40e678688c3e168f8f2caa52.tar.zst infinity-for-reddit-4204ce47737afc3a40e678688c3e168f8f2caa52.zip |
Pause rpan broadcast when switching to anther ViewRPANBroadcastFragment.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_rpanactivity.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/fragment_view_rpan_broadcast.xml | 7 |
2 files changed, 7 insertions, 7 deletions
diff --git a/app/src/main/res/layout/activity_rpanactivity.xml b/app/src/main/res/layout/activity_rpanactivity.xml index 570fddb2..b7e22b40 100644 --- a/app/src/main/res/layout/activity_rpanactivity.xml +++ b/app/src/main/res/layout/activity_rpanactivity.xml @@ -6,6 +6,7 @@ android:layout_height="match_parent" android:background="#000000" android:id="@+id/coordinator_layout_rpan_activity" + android:keepScreenOn="true" tools:context=".activities.RPANActivity"> <androidx.viewpager2.widget.ViewPager2 @@ -13,4 +14,10 @@ android:layout_width="match_parent" android:layout_height="match_parent" /> + <ProgressBar + android:id="@+id/progress_bar_rpan_activity" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" /> + </androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file diff --git a/app/src/main/res/layout/fragment_view_rpan_broadcast.xml b/app/src/main/res/layout/fragment_view_rpan_broadcast.xml index fdfe62c6..bab40403 100644 --- a/app/src/main/res/layout/fragment_view_rpan_broadcast.xml +++ b/app/src/main/res/layout/fragment_view_rpan_broadcast.xml @@ -12,11 +12,4 @@ android:layout_height="match_parent" app:controller_layout_id="@layout/exo_playback_control_view" /> - <ProgressBar - android:id="@+id/progress_bar_view_rpan_broadcast_fragment" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center" - android:visibility="gone" /> - </FrameLayout>
\ No newline at end of file |