]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/guide_coordinatorlayout.xml
Disable swiping in the ViewPager. https://redmine.stoutner.com/issues/415
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / guide_coordinatorlayout.xml
index 645c453c8c341f3aca19c2b6683079d185e46ebe..a95e6a0c6b4b9414393cc4571107ef4737233521 100644 (file)
@@ -23,6 +23,7 @@ When it is specified the theme should include <item name="android:windowTransluc
 <androidx.coordinatorlayout.widget.CoordinatorLayout
     android:id="@+id/guide_coordinatorlayout"
     xmlns:android="http://schemas.android.com/apk/res/android"
+    xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_height="match_parent"
     android:layout_width="match_parent"
     android:fitsSystemWindows="true" >
@@ -51,11 +52,10 @@ When it is specified the theme should include <item name="android:windowTransluc
             <!-- For some reason `tabIndicatorColor` does not pull from the style unless specified explicitly here. -->
             <com.google.android.material.tabs.TabLayout
                 android:id="@+id/guide_tablayout"
-                xmlns:android.support.design="http://schemas.android.com/apk/res-auto"
                 android:layout_height="wrap_content"
                 android:layout_width="match_parent"
-                android.support.design:tabMode="scrollable"
-                android.support.design:tabIndicatorColor="?attr/tabIndicatorColor"
+                app:tabMode="scrollable"
+                app:tabIndicatorColor="?attr/tabIndicatorColor"
                 android:theme="?attr/tabLayoutTheme" />
         </com.google.android.material.appbar.AppBarLayout>