Android EditText view for view tags
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"/>