aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-07-06 00:36:53 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-07-06 00:36:53 +0000
commit4204ce47737afc3a40e678688c3e168f8f2caa52 (patch)
treea99ab87d663638c9570605a065810256dbfe81e9 /app/src/main/res/layout
parentb031047d122bd665f20741effa28d350a247cf0a (diff)
downloadinfinity-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/layout')
-rw-r--r--app/src/main/res/layout/activity_rpanactivity.xml7
-rw-r--r--app/src/main/res/layout/fragment_view_rpan_broadcast.xml7
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