[Android] Use FragmentContainerView instead of fragment
Nicolas Pomepuy
git at videolan.org
Tue Aug 26 09:10:20 UTC 2025
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Mon Apr 14 14:15:43 2025 +0200| [6eae860ccc8767f0b1e367833761ff5b38a52f8e] | committer: Nicolas Pomepuy
Use FragmentContainerView instead of fragment
> https://code.videolan.org/videolan/vlc-android/commit/6eae860ccc8767f0b1e367833761ff5b38a52f8e
---
.../television/src/main/res/layout/moviepedia_tvshow_details.xml | 2 +-
application/vlc-android/res/layout/otp_code_activity.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/application/television/src/main/res/layout/moviepedia_tvshow_details.xml b/application/television/src/main/res/layout/moviepedia_tvshow_details.xml
index cd35b3762f..1e5995a0f0 100644
--- a/application/television/src/main/res/layout/moviepedia_tvshow_details.xml
+++ b/application/television/src/main/res/layout/moviepedia_tvshow_details.xml
@@ -26,7 +26,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
- <fragment
+ <androidx.fragment.app.FragmentContainerView
android:id="@+id/details_fragment"
android:name="org.videolan.television.ui.MediaScrapingTvshowDetailsFragment"
android:layout_width="match_parent"
diff --git a/application/vlc-android/res/layout/otp_code_activity.xml b/application/vlc-android/res/layout/otp_code_activity.xml
index 9a45226c63..69f33d48f2 100644
--- a/application/vlc-android/res/layout/otp_code_activity.xml
+++ b/application/vlc-android/res/layout/otp_code_activity.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<fragment xmlns:android="http://schemas.android.com/apk/res/android"
+<androidx.fragment.app.FragmentContainerView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/otpFragment"
android:name="org.videolan.vlc.gui.OTPCodeFragment"
android:layout_width="match_parent"
More information about the Android
mailing list