mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
fixing the dialpads bottom letter fastscroller
This commit is contained in:
@@ -3,7 +3,6 @@ package com.simplemobiletools.dialer.activities
|
||||
import android.annotation.TargetApi
|
||||
import android.content.Intent
|
||||
import android.graphics.Color
|
||||
import android.graphics.drawable.ColorDrawable
|
||||
import android.net.Uri
|
||||
import android.os.Build
|
||||
import android.os.Bundle
|
||||
@@ -86,8 +85,6 @@ class DialpadActivity : SimpleActivity() {
|
||||
letter_fastscroller.textColor = config.textColor.getColorStateList()
|
||||
letter_fastscroller_thumb.setupWithFastScroller(letter_fastscroller)
|
||||
letter_fastscroller_thumb.textColor = config.primaryColor.getContrastColor()
|
||||
|
||||
dialpad_bottom_background.background = ColorDrawable(config.backgroundColor)
|
||||
}
|
||||
|
||||
override fun onResume() {
|
||||
|
@@ -20,8 +20,10 @@
|
||||
<com.reddit.indicatorfastscroll.FastScrollerView
|
||||
android:id="@+id/letter_fastscroller"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
android:gravity="top"
|
||||
android:paddingTop="@dimen/medium_margin"
|
||||
app:layout_constraintBottom_toTopOf="@+id/dialpad_divider"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/dialpad_list" />
|
||||
|
||||
@@ -30,7 +32,7 @@
|
||||
android:layout_width="@dimen/fab_size"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginEnd="@dimen/activity_margin"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/dialpad_list"
|
||||
app:layout_constraintBottom_toTopOf="@+id/dialpad_divider"
|
||||
app:layout_constraintEnd_toStartOf="@+id/letter_fastscroller"
|
||||
app:layout_constraintTop_toTopOf="@+id/dialpad_list" />
|
||||
|
||||
@@ -41,14 +43,6 @@
|
||||
android:background="@drawable/divider"
|
||||
app:layout_constraintBottom_toTopOf="@+id/dialpad_input" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/dialpad_bottom_background"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:src="@color/theme_dark_background_color"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/dialpad_divider" />
|
||||
|
||||
<com.simplemobiletools.commons.views.MyEditText
|
||||
android:id="@+id/dialpad_input"
|
||||
android:layout_width="0dp"
|
||||
|
Reference in New Issue
Block a user