如何显示在右侧的android复选框? [英] How to show android checkbox at right side?
本文介绍了如何显示在右侧的android复选框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在默认情况下Android的复选框节目
文本在右边,复选框左侧
我想说明的复选框,在右边的文字左
By default android checkbox shows
text at right side and checkbox at left
I want to show checkbox at right side with text at left
我怎么做到这一点?
推荐答案
我想不出与造型的方式,但你可以只设置复选框没有的文字,并把一个TextView的左边复选框与你想要的文字。
I can't think of a way with the styling, but you could just set the text of the checkbox to nothing, and put a TextView to the left of the checkbox with your desired text.
这篇关于如何显示在右侧的android复选框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文