Only show message bubble tail for messages with shown avatar
|
@ -226,7 +226,11 @@ abstract class AbsMessageItem<H : AbsMessageItem.Holder> : AbsBaseMessageItem<H>
|
|||
bubbleView.setPadding(0, 0, 0, 0)
|
||||
}
|
||||
BubbleThemeUtils.BUBBLE_STYLE_START, BubbleThemeUtils.BUBBLE_STYLE_BOTH -> {
|
||||
bubbleView.setBackgroundResource(if (reverseBubble) R.drawable.msg_bubble_outgoing else R.drawable.msg_bubble_incoming)
|
||||
if (attributes.informationData.showInformation) {
|
||||
bubbleView.setBackgroundResource(if (reverseBubble) R.drawable.msg_bubble_outgoing else R.drawable.msg_bubble_incoming)
|
||||
} else {
|
||||
bubbleView.setBackgroundResource(if (reverseBubble) R.drawable.msg_bubble2_outgoing else R.drawable.msg_bubble2_incoming)
|
||||
}
|
||||
var tintColor = ColorStateList(
|
||||
arrayOf(intArrayOf(0)),
|
||||
intArrayOf(ThemeUtils.getColor(bubbleView.context,
|
||||
|
|
BIN
vector/src/main/res/drawable-hdpi/msg_bubble2_incoming.9.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
vector/src/main/res/drawable-hdpi/msg_bubble2_outgoing.9.png
Normal file
After Width: | Height: | Size: 309 B |
After Width: | Height: | Size: 309 B |
After Width: | Height: | Size: 6.1 KiB |
After Width: | Height: | Size: 228 B |
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 412 B |
After Width: | Height: | Size: 6.2 KiB |
After Width: | Height: | Size: 4.5 KiB |
After Width: | Height: | Size: 11 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 6.6 KiB |
BIN
vector/src/main/res/drawable-mdpi/msg_bubble2_incoming.9.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
vector/src/main/res/drawable-mdpi/msg_bubble2_outgoing.9.png
Normal file
After Width: | Height: | Size: 228 B |
BIN
vector/src/main/res/drawable-xhdpi/msg_bubble2_incoming.9.png
Normal file
After Width: | Height: | Size: 6.2 KiB |
BIN
vector/src/main/res/drawable-xhdpi/msg_bubble2_outgoing.9.png
Normal file
After Width: | Height: | Size: 412 B |
BIN
vector/src/main/res/drawable-xxhdpi/msg_bubble2_incoming.9.png
Normal file
After Width: | Height: | Size: 11 KiB |
BIN
vector/src/main/res/drawable-xxhdpi/msg_bubble2_outgoing.9.png
Normal file
After Width: | Height: | Size: 4.5 KiB |
BIN
vector/src/main/res/drawable-xxxhdpi/msg_bubble2_incoming.9.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
vector/src/main/res/drawable-xxxhdpi/msg_bubble2_outgoing.9.png
Normal file
After Width: | Height: | Size: 4.6 KiB |