Android Tutorial [B4X] Cross platform chat layout example

Erel

Administrator
Staff member
Licensed User

Example of implementing a chat layout.
It is based on xCustomListView. The text is created with a hidden BBCodeView (BCTextEngine) and the bubble is drawn with BitmapCreator.
Extracting the image from BBCodeView is not trivial. See the code.

The code is implemented in the Chat class which is shared between the three projects.

BCTextEngine: https://www.b4x.com/android/forum/threads/106207/#content
 

Attachments

Top