Tag selection edit text and list with library

Tag selection edit text and list
The tag selection library with edit text and list

Tag selection edit text and list TagView

This Tag selection edit text and list libirary help to pick up Text as Tag. Like Skill selection or other things what you want. You can call it Tag with EditText You can select specific text from showing list or from editText text. Easy to us and Simple library.

Tag selection edit text and list Root Gradle

Sh


Tag selection edit text and list App Gradle:

Sh

Ok Now starts Implementation part. You have to set just follwoing xml
Note: No need to add extra Edit text for Tag selection. The xml file will auto provide

Sh

And now here we wil discuss how we can use different property

In Activity you can use like:

Sh

User can set Tag in two way
1.Typing text and enter Special Character
2.Select item from provided list

Sh

or in XML you can set

Sh

To get Tag add or Remove listener

Sh

To get selected tag

Sh

ATTRIBUTESPURPOSE
app:tag_text_colorTo change Tag text color
app:tag_background_colorTo change Tag Background color
app:tag_limitTo set how many tag will set
app:close_iconTo set remove button of each tag
app:limit_error_textTo set message if tag reach its limit
app:tag_separatorTo set Special Character that entering in EditText will create a tag

How you can set predefine tag list?
You can set List of String or array of String

Read this::Android Permissions Implement Popup

Read This::Helps to create a bunch of alert dialogs with Lottie

MTEHOD NAMEPURPOSE
addTagLimit(int limit)To set Tag limit
setTagBackgroundColor(int color)To set Tag background color
setTagBackgroundColor(String color)To set Tag background color
setTagTextColor(int color)To set Tag text color
setTagTextColor(String color)To set Tag text color
setMaximumTagLimitMessage(String message)To set Tag limit warning message
setCrossButton(Drawable crossDrawable)To set Tag remove button
setCrossButton(Bitmap crossBitmap)To set Tag remove button
setTagList(List<String> tagList)To set Predefine Tag list
setTagList(String... tagList)To set Predefine Tag list as String array
getSelectedTags()To get all selected TagList

GitHub

mahimrocky/TagView

174

The library with edit text and list — Read more latest commit to the master branch on 3-20-2019Download as zip

Android TagsEditText View for text view with tags

Android TagsEditText View for text view with tags

TagsEditText

Android TagsEditText View for text view with tags.

How to use

Add it in your root build.gradle at the end of repositories:

Groovy

Step 2. Add the dependency

Groovy

Step 3. Add TagsEditText to your layout file

XML

GitHub

anonymous-ME/TagsEditText

264

Android TagsEditText View — Read MoreLatest commit to the master branch on 3-21-2019Download as zip

And

374 total views, 1 views today

(Visited 121 times, 1 visits today)

You May Also Like

About the Author: Android Developer

This is Mohammad I am Android Application Developer. I am the founder of Android Tutorial Online blog. I am programming lover and professional blogger from India. I spend most of my time doing programming and helping other programmers. This Android tutorial online blog for learning and share Android code.
My Chatbot
Powered by Replace Me