如何在右侧显示android复选框? [英] How to show android checkbox at right side?

查看:14
本文介绍了如何在右侧显示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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆