简体   繁体   English

Android如何在每个单词的edittext上高亮显示和添加ax(删除)按钮

[英]Android how to highlight and add a x (remove) button on edittext per word

I want to create an EditText like this: 我想创建一个EditText像这样:

我想要什么

I can't find something like this floating around the internet so I decided to ask it here. 我在互联网上找不到这样的东西,所以我决定在这里问。 How could I create an EditText like in the picture? 如何创建图片中的EditText?

我相信TagsEditText是您所需要的。

Here are some libraries to help you get what you want to, 这里有一些库可以帮助您获得所需的信息,

  1. Chips EditText Library 芯片EditText库

  2. Android Chips 安卓芯片

  3. Chips Android 安卓芯片

  4. ChipView 芯片视图

Choose the one that suits you the best for your app's requirements. 选择最适合您的应用程序需求的一种。 Hope it helps. 希望能帮助到你。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM