0

In my application i have a AutoCompleteTextView within which the user inserts a series of tags to categorize an element. I would like to make sure that every time the user inserts a tag and makes a space, the tag he inserted was put inside a badge like these:

enter image description here

How can i achieve this?

Dhruv Patel
  • 1,529
  • 1
  • 18
  • 27
Cilla
  • 419
  • 5
  • 16

1 Answers1

0

Yes , First of all these text inside badge as you said is known as Chips , and you can acheive this by MaterialChipLayout

https://github.com/pchmn/MaterialChipsInput

follow this after adding this into your build , it will solve your problem.

Sachin Rajput
  • 4,326
  • 2
  • 18
  • 29