updating the letter fastscroller

This commit is contained in:
tibbi 2020-02-05 17:33:54 +01:00
parent edc8817638
commit 5fdb7a38aa
3 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,7 @@ dependencies {
implementation 'joda-time:joda-time:2.10.1' implementation 'joda-time:joda-time:2.10.1'
implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2' implementation 'androidx.constraintlayout:constraintlayout:2.0.0-beta2'
implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.5' 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" kapt "androidx.room:room-compiler:2.2.2"
implementation "androidx.room:room-runtime:2.2.2" implementation "androidx.room:room-runtime:2.2.2"

View File

@ -360,6 +360,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
fragment_fastscroller?.updateBubbleColors() fragment_fastscroller?.updateBubbleColors()
fragment_fastscroller?.allowBubbleDisplay = config.showInfoBubble fragment_fastscroller?.allowBubbleDisplay = config.showInfoBubble
fragment_placeholder_2?.setTextColor(context.getAdjustedPrimaryColor()) fragment_placeholder_2?.setTextColor(context.getAdjustedPrimaryColor())
letter_fastscroller_thumb?.fontSize = context.getTextSize()
} }
private fun setupViewVisibility(hasItemsToShow: Boolean) { private fun setupViewVisibility(hasItemsToShow: Boolean) {

View File

@ -51,7 +51,7 @@
<com.reddit.indicatorfastscroll.FastScrollerThumbView <com.reddit.indicatorfastscroll.FastScrollerThumbView
android:id="@+id/letter_fastscroller_thumb" android:id="@+id/letter_fastscroller_thumb"
android:layout_width="40dp" android:layout_width="@dimen/fab_size"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_alignTop="@+id/letter_fastscroller" android:layout_alignTop="@+id/letter_fastscroller"
android:layout_alignBottom="@+id/letter_fastscroller" android:layout_alignBottom="@+id/letter_fastscroller"