]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout-w900dp/domains_list_fragment.xml
Save and restore the app state. https://redmine.stoutner.com/issues/461
[PrivacyBrowserAndroid.git] / app / src / main / res / layout-w900dp / domains_list_fragment.xml
index 81284a9dad48f84996e5a098205186a442004d8a..df1245452757da20018d9662450ec7b66aeef4c7 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
-  Copyright © 2017,2019 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2017,2019-2020 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
 
@@ -17,7 +17,8 @@
   You should have received a copy of the GNU General Public License
   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
 
-<!-- `android:choiceMode="singleChoice"` allows a selected domain to be highlighted.-->
+<!-- `android:choiceMode="singleChoice"` allows a selected domain to be highlighted.
+    `android:dividerHeight` must be at least `1dp` or the list view is inconsistent in calculating the scroll position when restarted.-->
 <ListView
     android:id="@+id/domains_listview"
     xmlns:android="http://schemas.android.com/apk/res/android"
@@ -27,4 +28,4 @@
     android:layout_width="match_parent"
     android:choiceMode="singleChoice"
     android:divider="@color/transparent"
-    android:dividerHeight="0dp" />
\ No newline at end of file
+    android:dividerHeight="1dp" />
\ No newline at end of file