mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +01:00
use height from typingIndicator layout
no need to define it redundant... Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
231cfef8c3
commit
add5e518e1
@ -392,12 +392,10 @@ class ChatActivity :
|
||||
}
|
||||
}
|
||||
|
||||
val typingIndicatorHeight = DisplayUtils.convertDpToPixel(20f, context)
|
||||
|
||||
runOnUiThread {
|
||||
if (participantNames.size > 0) {
|
||||
binding.typingIndicatorWrapper.animate()
|
||||
.translationY(binding.messageInputView.y - typingIndicatorHeight)
|
||||
.translationY(binding.messageInputView.y - binding.typingIndicator.height)
|
||||
.setInterpolator(AccelerateDecelerateInterpolator())
|
||||
.duration = TYPING_INDICATOR_ANIMATION_DURATION
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user