GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - qiugang/EditTag: @Deprecated. A view to edit tag just like EditText edit text.

BranchesTags
Open more actions menu

Latest commit

 

History

27 Commits
27 Commits

Folders and files

NameName
Last commit message
Last commit date
gradle/wrapper
gradle/wrapper
 
 
library
library
 
 
sample
sample
 
 
screenshots
screenshots
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

EditTag

Android Arsenal

Just use it to edit tags like EditText edit text.

Demo

How to use

  • Add the dependency
 repositories {
     maven { url "https://jitpack.io" }
 }
 dependencies {
     compile 'com.github.qiugang:EditTag:{latest version}'
 }
  • Add EditTag View in your layout resource
<me.originqiu.library.EditTag
   android:id="@+id/edit_tag_view"
   android:layout_width="match_parent"
   android:layout_height="wrap_content"
   app:tag_layout="@layout/view_sample_tag"
   app:delete_mode_bg="#FF4081"
   app:input_layout="@layout/view_sample_input_tag"/>
  • Custom your Tag ,Input EditText layout resource
  • Set tag list : setTagList(List<String> yourTags)
  • Get tag list: getTagList()
  • Set input tag enable setEditable(true)
  • Add a tag addTag(String tagContent)
  • Remove tag: removeTag(String... tagValue)
  • Set Tag data changed callback: setTagAddCallBack(TagAddCallback tagAddCallBack) and setTagDeletedCallback(TagDeletedCallback tagDeletedCallback)
  • ⚠ When you custom input_layout layout, please use MEditText replaced EditText, in order to avoid some of the soft keyboard can not receive the delete action event

Todo

  • Delete single tag out of order

Thanks

  • FlowLayout

License

The MIT License (MIT)

Copyright (c) 2015 OriginQiu

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

About

@deprecated. A view to edit tag just like EditText edit text.

qiugang.github.io/edit-tag-view

Topics

androidtag-edit

Resources

Readme
MIT license
Activity

Stars

302 stars

Watchers

9 watching

Forks

56 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.