Pause rpan broadcast when switching to anther ViewRPANBroadcastFragment.

This commit is contained in:
Alex Ning
2021-07-06 08:36:53 +08:00
parent b031047d12
commit 4204ce4773
5 changed files with 34 additions and 20 deletions

View File

@@ -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>