Improve the scrolling of bookmarks. https://redmine.stoutner.com/issues/42.
[PrivacyBrowser.git] / app / src / main / res / layout / bookmarks_coordinatorlayout.xml
index 6183daf57cd75b220c18e712515d2109b5b6b033..a31ec0e1d6f35c119292f9463325e8c7ffe738d1 100644 (file)
         </android.support.design.widget.AppBarLayout>
 
         <!-- `android:choiceMode="multipleChoiceModal"` allows the contextual action menu to select more than one item at a time.
-            `android:dividerHeight` must be specified with `android:divider` or the height will be `0dp`.  In our case we want the height to be `0dp`. -->
+            `android:dividerHeight` must be at least `1dp` or the `ListView` is inconsistent in calculating how many bookmarks are displayed. -->
         <ListView
             android:id="@+id/bookmarks_listview"
             android:layout_height="match_parent"
             android:layout_width="match_parent"
             android:choiceMode="multipleChoiceModal"
             android:divider="@color/transparent"
-            android:dividerHeight="0dp" />
+            android:dividerHeight="1dp" />
     </LinearLayout>
 
     <android.support.design.widget.FloatingActionButton