]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/bookmarks_coordinatorlayout.xml
Add the ability to reorder bookmarks.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / bookmarks_coordinatorlayout.xml
index 152e3b3ab1bd35085572b0d8593428336c51804e..783a19bc0257b200fe8e11a5c466999cfec63611 100644 (file)
@@ -39,7 +39,7 @@
             android:id="@+id/bookmarks_appbarlayout"
             android:layout_height="wrap_content"
             android:layout_width="match_parent"
-            android:theme="@style/PrivacyBrowser.AppBarOverlay" >
+            android:theme="@style/AppBarOverlay" >
 
             <!-- android:theme="@style/PrivacyBrowser.DarkAppBar" makes the text and icons in the AppBar white. -->
             <android.support.v7.widget.Toolbar
                 android:layout_height="wrap_content"
                 android:layout_width="match_parent"
                 android:background="@color/blue"
-                android:theme="@style/PrivacyBrowser.DarkAppBar"
-                app:popupTheme="@style/PrivacyBrowser.PopupOverlay" />
+                android:theme="@style/DarkAppBar"
+                app:popupTheme="@style/LightPopupOverlay" />
         </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. -->
         <ListView
             android:id="@+id/bookmarks_listview"
             android:layout_height="match_parent"
-            android:layout_width="match_parent" />
+            android:layout_width="match_parent"
+            android:choiceMode="multipleChoiceModal"
+            android:divider="@color/white"
+            android:dividerHeight="0dp" />
     </LinearLayout>
 
     <android.support.design.widget.FloatingActionButton