diff options
| author | Harsh Shandilya <msfjarvis@gmail.com> | 2020-01-26 11:49:45 +0530 |
|---|---|---|
| committer | Aditya Wasan <adityawasan55@gmail.com> | 2020-01-26 11:49:45 +0530 |
| commit | 27e1952375eddaec78d7c95d3a431633ab4275c8 (patch) | |
| tree | 93d217f1b235fcbe7e3824efc0845dcae44d1ad8 /app/src/main/res | |
| parent | 052467518eb55798566d9f0eb7a07f09a4cc0a82 (diff) | |
| download | HardenedPass-27e1952375eddaec78d7c95d3a431633ab4275c8.tar.gz HardenedPass-27e1952375eddaec78d7c95d3a431633ab4275c8.zip | |
Add fastscroller with alphabetic hints (#616)
* Setup basic fast scroll
Work towards #558
* Implement PopupTextProvider
Fixes #558
* Update changes
* Hide system scrollbars
* Port fastscroll to autofill preferences
* Spotless
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main/res')
| -rw-r--r-- | app/src/main/res/layout/autofill_recycler_view.xml | 9 | ||||
| -rw-r--r-- | app/src/main/res/layout/password_recycler_view.xml | 2 |
2 files changed, 7 insertions, 4 deletions
diff --git a/app/src/main/res/layout/autofill_recycler_view.xml b/app/src/main/res/layout/autofill_recycler_view.xml index 7a987e5f..c3a4a9f3 100644 --- a/app/src/main/res/layout/autofill_recycler_view.xml +++ b/app/src/main/res/layout/autofill_recycler_view.xml @@ -1,14 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" - android:layout_height="match_parent" - xmlns:app="http://schemas.android.com/apk/res-auto"> + android:layout_height="match_parent"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/autofill_recycler" android:layout_width="match_parent" android:layout_height="match_parent" - android:scrollbars="vertical" /> + android:scrollbars="none" + tools:listitem="@layout/autofill_row_layout" + tools:itemCount="20"/> <ProgressBar android:id="@+id/progress_bar" diff --git a/app/src/main/res/layout/password_recycler_view.xml b/app/src/main/res/layout/password_recycler_view.xml index 69dc8867..07596335 100644 --- a/app/src/main/res/layout/password_recycler_view.xml +++ b/app/src/main/res/layout/password_recycler_view.xml @@ -9,7 +9,7 @@ <androidx.recyclerview.widget.RecyclerView android:id="@+id/pass_recycler" - android:scrollbars="vertical" + android:scrollbars="none" android:layout_width="match_parent" android:layout_height="match_parent" tools:listitem="@layout/password_row_layout" |
