mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-28 17:38:55 +03: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
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue