]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/guide_top_appbar.xml
Switch the FragmentPagerAdapters to FragmentStateAdapters. https://redmine.stoutner...
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / guide_top_appbar.xml
index 05f6bbc2f17760c788f8f9da3236e09a39e11995..f3a3d1ef023ce35805b899553c9dd9cd5129d48c 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright © 2016-2017,2019-2022 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2016-2017,2019-2023 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
 
@@ -52,8 +52,8 @@
         </com.google.android.material.appbar.AppBarLayout>
 
         <!-- `android:layout_weight="1"` makes the view pager fill the rest of the screen. -->
-        <androidx.viewpager.widget.ViewPager
-            android:id="@+id/guide_viewpager"
+        <androidx.viewpager2.widget.ViewPager2
+            android:id="@+id/guide_viewpager2"
             android:layout_width="match_parent"
             android:layout_height="0dp"
             android:layout_weight="1" />