Whatsapp Message Layout - How to get time-view in the same row

后端 未结 12 1099
执笔经年
执笔经年 2020-11-28 03:18

I was wondering how WhatsApp handles the time shown in every message.

For those who don\'t know:

  1. If the message is very short, the text and time are in
12条回答
  •  情书的邮戳
    2020-11-28 04:13

    I guess the easiest way to achieve this kind oflayout would be to add enough blank space in your message to be sure there is enough space on the right to not cover the time (I don't see any other easy way to have a margin/padding/positioning for the last line of your text only) Then you just place the time in the relative as an align bottom right

提交回复
热议问题