Skip to content

Latest commit

 

History

History
42 lines (36 loc) · 1.42 KB

README.md

File metadata and controls

42 lines (36 loc) · 1.42 KB

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