如何添加的TextView下面的RelativeLayout的时候有右侧没有空间? [英] How to add TextView at below in a RelativeLayout when there is no space at right?

查看:412
本文介绍了如何添加的TextView下面的RelativeLayout的时候有右侧没有空间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看到很多的如何添加的TextView RelativeLayout的编程,但每个人都将它添加问题在的LinearLayout 与方向垂直。任何一个可以建议我或者给我一个链接,如何在正确的添加多个的TextView RelativeLayout的,直到有空间然后换行。

I've seen many of questions for how to add TextView in a RelativeLayout programatically, but everybody adding it in LinearLayout with orientation vertical. Can any one suggest me or give me a link that how to add multiple TextView in RelativeLayout at right until it has space and then change the line.

我想这样的布局..

I want a layout like this..

推荐答案

可能这对你的作品!

您可以自定义芯片-的EditText库您的需要。自定义设置背景透明,可编辑为false。

You can customize chips-edittext-library for your need. Customizing by setting background to transparent, and editable to false.

- >或者你可以使用它用于显示的EditText表情任何其他库,并根据您的需要进行定制。如 Android的表情-的EditText穗

-> Or you can use any other library which is used for displaying emoticon in EditText and customize it according to your need. Like android-emoticon-edittext-spike

这篇关于如何添加的TextView下面的RelativeLayout的时候有右侧没有空间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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