Skip to content

Instantly share code, notes, and snippets.

View kedzie's full-sized avatar

Marek Kedzierski kedzie

View GitHub Profile
@kedzie
kedzie / viewpager_mapview_conflict.xml
Created July 3, 2019 16:47
Layout with MapView and ViewPager2 which causes bug
<androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/coordinator"
android:layout_width="match_parent"
android:layout_height="match_parent">
<!-- mapview uses generated ID of 1 for linear layout -->
<com.google.android.gms.maps.MapView
android:id="@+id/mapView"