From 1303088a2928d04b8247443fd8cb5256d08c8b90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=20=D0=A2=D0=B8=D0=BC=D0=B0=D1=88?= =?UTF-8?q?=D0=BA=D0=BE=D0=B2?= Date: Mon, 12 Jun 2023 22:32:33 +0500 Subject: [PATCH] Add custom fast scrool --- app/build.gradle | 6 ++++-- app/src/main/res/layout/activity_class.xml | 12 ++++++------ app/src/main/res/layout/activity_main.xml | 6 ++++-- app/src/main/res/layout/activity_symbols.xml | 12 ++++++------ app/src/main/res/layout/activity_v_table.xml | 12 ++++++------ app/src/main/res/layout/floating_menu.xml | 12 ++++++------ app/src/main/res/layout/item_files.xml | 2 +- app/src/main/res/layout/item_symbols.xml | 2 -- settings.gradle | 6 ++++++ 9 files changed, 39 insertions(+), 31 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index aee557c..b3835bc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -13,8 +13,8 @@ android { minSdk 21 //noinspection OldTargetApi targetSdk 33 - versionCode 34 - versionName "3.4" + versionCode 35 + versionName "3.5" ndk { abiFilters 'armeabi-v7a', 'x86', 'arm64-v8a', 'x86_64' } @@ -49,6 +49,7 @@ android { dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) + implementation 'androidx.cardview:cardview:1.0.0' implementation 'androidx.annotation:annotation:1.6.0' implementation 'androidx.preference:preference-ktx:1.2.0' @@ -59,6 +60,7 @@ dependencies { implementation "com.mikepenz:fastadapter:5.7.0" implementation "com.mikepenz:fastadapter-extensions-binding:5.7.0" + implementation 'com.simplecityapps:recyclerview-fastscroll:2.0.1' implementation 'org.jetbrains:annotations:24.0.1' implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.0" diff --git a/app/src/main/res/layout/activity_class.xml b/app/src/main/res/layout/activity_class.xml index 5b9a7ab..c150ee5 100644 --- a/app/src/main/res/layout/activity_class.xml +++ b/app/src/main/res/layout/activity_class.xml @@ -83,16 +83,16 @@ android:gravity="center" android:orientation="vertical"> - - diff --git a/app/src/main/res/layout/activity_symbols.xml b/app/src/main/res/layout/activity_symbols.xml index 043d32c..33e517b 100644 --- a/app/src/main/res/layout/activity_symbols.xml +++ b/app/src/main/res/layout/activity_symbols.xml @@ -83,16 +83,16 @@ android:gravity="center" android:orientation="vertical"> - - - + android:padding="8dp"> diff --git a/settings.gradle b/settings.gradle index 07a201f..567373f 100644 --- a/settings.gradle +++ b/settings.gradle @@ -3,6 +3,9 @@ pluginManagement { gradlePluginPortal() google() mavenCentral() + maven { + url "https://jitpack.io" + } } } @@ -11,6 +14,9 @@ dependencyResolutionManagement { repositories { google() mavenCentral() + maven { + url "https://jitpack.io" + } } }