如何对齐Android在checkedtextView复选框 [英] How to align the checkboxes in the checkedtextView in android

查看:653
本文介绍了如何对齐Android在checkedtextView复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个滚动视图包含一个由多个组成形式 CheckedTextView ,我的问题是,这些复选框的是不在同一水平上,他们是在每个文本为此,我想是有它们对齐,所以它看起来好作为一种形式。怎么做?我一直在寻找了几个小时,但没有呢。

我如何让他们:

  blablablablablabla点¯xblablablablablablablablablablablabla点¯x布拉布拉点¯x

我多么希望他们:

  blablablablablabla点¯xblablablablablablablablablablablabla点¯x布拉布拉点¯x


解决方案

作为一个解决方案,我用了一个复选框 textviews

I have a scrollView containing a form composed by multiple CheckedTextView, my problem is that the check boxes of these ones are not in the same level, they are at this end of every text, what i want is to have them aligned so it looks good as a form. How to do that? i've been searching for hours but nothing yet.

how i have them :

blablablablablabla x

blablablablablablablablablablablabla x

blabla x

how i want them :

blablablablablabla                   x

blablablablablablablablablablablabla x

blabla                               x

解决方案

As a solution, I used single checkboxes and textviews

这篇关于如何对齐Android在checkedtextView复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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