融云sdk设置头像外观为其他形状方法教程
作者:未知 来源:绿软联盟 发布时间:2015-8-19 16:11:33
作者:未知 来源:绿软联盟 发布时间:2015-8-19 16:11:33
融云sdk怎么设置头像外观为其他形状呢?融云sdk设置头像外观为其他形状的方法步骤如下:
通过修改下面对应的 XML 文件中的相关属性,可以实现将头像变为其他形状(方形、圆形)
rc_item_conversation.xml 会话列表
rc_item_message.xml 会话页面
rc_item_conversation_member.xml 设置页面
app:shape=“circle” //圆形
app:shape=“square”//方形
android:scaleType="centerCrop"//设置
每个xml文件中有两处需替换
文章来自绿盟(xDowns.com)转载请注明来路。
上一篇文章:融云平台提供的公众号功能大全 []