소스 검색

fix to close gap between typing indicator and message input

otherwise chat content was visible in between

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 년 전
부모
커밋
9a76ce7ccd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt

+ 1 - 1
app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt

@@ -971,7 +971,7 @@ class ChatActivity :
 
             if (participantNames.size > 0) {
                 binding.typingIndicatorWrapper.animate()
-                    .translationY(binding.messageInputView.y - DisplayUtils.convertDpToPixel(20f, context))
+                    .translationY(binding.messageInputView.y - DisplayUtils.convertDpToPixel(18f, context))
                     .setInterpolator(AccelerateDecelerateInterpolator())
                     .duration = TYPING_INDICATOR_ANIMATION_DURATION
             } else {