]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/domains_list_fragment.xml
Save and restore the app state. https://redmine.stoutner.com/issues/461
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / domains_list_fragment.xml
index 28e1155f8e5d8e6ce7fdb884239ef3a15c8e2c17..b1d3e05feae48496a02a27f4418a7e4f800059a5 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
-  Copyright © 2017 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2017,2020 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
 
@@ -17,7 +17,7 @@
   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: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 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"
@@ -26,4 +26,4 @@
     android:layout_height="match_parent"
     android:layout_width="match_parent"
     android:divider="@color/transparent"
-    android:dividerHeight="0dp" />
\ No newline at end of file
+    android:dividerHeight="1dp" />
\ No newline at end of file