Food for thought: Do messaging apps use different ...
# random
d
Food for thought: Do messaging apps use different layouts to represent user's and another user's messages? They only seem to be different in alignment and background color.
v
dragas: I used same layout, and some time later I begin feeling pain for this decision (outgoing message have more info and behavior logic). Nowadays I would start with AnkoComponent MessageContatinerUI, which would be parent class for incoming and outgoing messages. and different componennts for different message content types (text, image, audio)