Skip to content

Commit c5aefa2

Browse files
- prevent timeline jump up while TypingMessageView populated. Signed-off-by: Ahmed Radhouane Belkilani <[email protected]>
1 parent 7751dfb commit c5aefa2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

vector/src/main/java/im/vector/app/core/ui/views/TypingMessageAvatar.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class TypingMessageAvatar @JvmOverloads constructor(
3434
) : LinearLayout(context, attrs, defStyleAttr) {
3535

3636
companion object {
37-
const val AVATAR_SIZE_DP = 24
37+
const val AVATAR_SIZE_DP = 20
3838
const val OVERLAP_FACT0R = -3 // =~ 30% to left
3939
}
4040

vector/src/main/res/layout/fragment_timeline.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
android:paddingStart="20dp"
9999
android:paddingEnd="20dp"
100100
android:visibility="invisible"
101-
android:layout_height="wrap_content"/>
101+
android:layout_height="20dp"/>
102102

103103
<im.vector.app.core.ui.views.NotificationAreaView
104104
android:id="@+id/notificationAreaView"

0 commit comments

Comments
 (0)