unwmun-smobile / TagsEditText

Android EditText for view tags or chips

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unfortunately, I'm busy to maintain this project, so please feel free to fork it and adjust it the way you want

Android EditText view for view tags

How to use

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

allprojects {
	repositories {
		maven { url "https://jitpack.io" }
	}
}

Step 2. Add the dependency

dependencies {
	compile 'com.github.mabbas007:TagsEditText:1.0.5'
}

Step 3. Add TagsEditText to your layout file

<mabbas007.tagsedittext.TagsEditText
        android:id="@+id/tagsEditText"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        TagsEditText:allowSpaceInTag="true"
        TagsEditText:tagsCloseImageRight="@drawable/tag_close"
        TagsEditText:tagsBackground="@drawable/square"
        TagsEditText:tagsCloseImageLeft="@drawable/dot"
        TagsEditText:tagsTextColor="@color/blackOlive"
        TagsEditText:tagsTextSize="@dimen/defaultTagsTextSize"
        TagsEditText:tagsCloseImagePadding="@dimen/defaultTagsCloseImagePadding"/>

Screen shots

enter image description here

About

Android EditText for view tags or chips

License:Apache License 2.0


Languages

Language:Java 100.0%