From 5fdb7a38aa639b437f6b2e53032bc879836af4fa Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 5 Feb 2020 17:33:54 +0100 Subject: [PATCH] updating the letter fastscroller --- app/build.gradle | 2 +- .../contacts/pro/fragments/MyViewPagerFragment.kt | 1 + app/src/main/res/layout/fragment_letters_layout.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 70d21ca1..c3e2edfb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -61,7 +61,7 @@ dependencies { implementation 'joda-time:joda-time:2.10.1' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2' implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.5' - implementation 'com.github.tibbi:IndicatorFastScroll:96c9624247' + implementation 'com.github.tibbi:IndicatorFastScroll:af0dd6f58f' kapt "androidx.room:room-compiler:2.2.2" implementation "androidx.room:room-runtime:2.2.2" diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt index 8f8a6dc8..c809663e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt @@ -360,6 +360,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet) fragment_fastscroller?.updateBubbleColors() fragment_fastscroller?.allowBubbleDisplay = config.showInfoBubble fragment_placeholder_2?.setTextColor(context.getAdjustedPrimaryColor()) + letter_fastscroller_thumb?.fontSize = context.getTextSize() } private fun setupViewVisibility(hasItemsToShow: Boolean) { diff --git a/app/src/main/res/layout/fragment_letters_layout.xml b/app/src/main/res/layout/fragment_letters_layout.xml index d5a932b1..40368d0e 100644 --- a/app/src/main/res/layout/fragment_letters_layout.xml +++ b/app/src/main/res/layout/fragment_letters_layout.xml @@ -51,7 +51,7 @@