Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我必须开发一个允许用户聊天的 android 应用程序我想制作 textView 来处理他们在 Balloon 中的对话,如下图所示,
谁能告诉我我该怎么做????
提前致谢
创建两个气球图像(用于发送和接收的消息),将它们制作为 9 个补丁并将它们设置为包含对话的布局的背景。
为此,您将使用 9 个补丁图像。
为了显示它们,您将使用ListView每个行项目将包含文本和 9 个补丁聊天气泡背景。
ListView
有很多讨论可用: