mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
Use text color as fab icon color
This commit is contained in:
@ -4,6 +4,7 @@ import android.annotation.SuppressLint
|
||||
import android.app.Activity
|
||||
import android.content.ActivityNotFoundException
|
||||
import android.content.Intent
|
||||
import android.content.res.ColorStateList
|
||||
import android.graphics.BitmapFactory
|
||||
import android.graphics.drawable.LayerDrawable
|
||||
import android.media.MediaMetadataRetriever
|
||||
@ -651,8 +652,8 @@ class ThreadActivity : SimpleActivity() {
|
||||
scroll_to_bottom_fab.setOnClickListener {
|
||||
scrollToBottom()
|
||||
}
|
||||
val fabColor = getBottomBarColor()
|
||||
scroll_to_bottom_fab.setColors(textColor, fabColor, fabColor)
|
||||
scroll_to_bottom_fab.backgroundTintList = ColorStateList.valueOf(getBottomBarColor())
|
||||
scroll_to_bottom_fab.applyColorFilter(textColor)
|
||||
|
||||
setupScheduleSendUi()
|
||||
}
|
||||
|
Reference in New Issue
Block a user