问题描述项目中需要实现如下图所示的效果,开始时想用ConstraintLayout实现。结果发现了问题,Text 已经超出屏幕显示了,并且右侧被切断。直接上代码:val (tagId, textId, imageId) = createRefs() Image( painter = painterResource(R.drawable.head), contentDescript
Copyright © 2005-2025 51CTO.COM 版权所有 京ICP证060544号