mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Remove font padding when chat message only contains emoji
This commit is contained in:
parent
670eecf0d6
commit
865216d717
2 changed files with 2 additions and 0 deletions
|
|
@ -234,6 +234,7 @@
|
|||
android:textSize="@{model.isTextEmoji ? @dimen/chat_bubble_emoji_only_text_size : @dimen/chat_bubble_text_size, default=@dimen/chat_bubble_text_size}"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
android:gravity="center_vertical|start"
|
||||
android:includeFontPadding="@{!model.isTextEmoji}"
|
||||
android:visibility="@{model.text.length() > 0 ? View.VISIBLE : View.GONE}"/>
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
|||
|
|
@ -206,6 +206,7 @@
|
|||
android:textSize="@{model.isTextEmoji ? @dimen/chat_bubble_emoji_only_text_size : @dimen/chat_bubble_text_size, default=@dimen/chat_bubble_text_size}"
|
||||
android:textColor="?attr/color_main2_800"
|
||||
android:gravity="center_vertical|start"
|
||||
android:includeFontPadding="@{!model.isTextEmoji}"
|
||||
android:visibility="@{model.text.length() > 0 ? View.VISIBLE : View.GONE}"/>
|
||||
|
||||
<LinearLayout
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue