I am trying to create a chat application with RecyclerView for displaying the list of messages in chatBubble form.
In recyclerView, in each row layout I have two text views. One for displaying the message and other for displaying the timestamp. For short messages, it works. However, for long messages, the chat bubble grows too big and the corresponding TextView for displaying timestamp can't be seen in this case.
- Why is this happening and how to correct this,
- Also, the space between each item in RecyclerView needs to be increased, I tried using
android:dividerHeight="12dp"
but it didn't work.