{"id":22096832,"url":"https://github.com/cutta/tagview","last_synced_at":"2025-04-05T12:05:11.949Z","repository":{"id":87955903,"uuid":"43238387","full_name":"Cutta/TagView","owner":"Cutta","description":"Android TagView-HashTagView","archived":false,"fork":false,"pushed_at":"2020-01-21T11:13:21.000Z","size":161,"stargazers_count":490,"open_issues_count":29,"forks_count":91,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-03-29T11:06:20.899Z","etag":null,"topics":["android","android-tagview-hashtagview","tagview"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Cutta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-09-27T07:32:45.000Z","updated_at":"2025-03-16T17:16:22.000Z","dependencies_parsed_at":"2023-05-22T02:45:15.445Z","dependency_job_id":null,"html_url":"https://github.com/Cutta/TagView","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cutta%2FTagView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cutta%2FTagView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cutta%2FTagView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Cutta%2FTagView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Cutta","download_url":"https://codeload.github.com/Cutta/TagView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332602,"owners_count":20921853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-tagview-hashtagview","tagview"],"created_at":"2024-12-01T04:12:46.041Z","updated_at":"2025-04-05T12:05:11.930Z","avatar_url":"https://github.com/Cutta.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Android TagView\nAndroid TagView-HashTagView\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-TagView-green.svg?style=flat)](https://android-arsenal.com/details/1/2566)\n\u003cbr\u003e\u003cbr\u003eXamarin version, written by \u003ca href = \"https://github.com/fernandolopes\"\u003e@fernandolopes\u003c/a\u003e\u003cbr\u003e\nhttps://github.com/fernandolopes/Xamarin.Android.TagView\n\nSimple android view to display collection of colorful tags efficiently.\nYou can edit the tag's style, and set listener of selecting or deleting tag. \nExample usages can be found in example project.\n\n# Screen\n\u003cimg src=\"http://s11.postimg.org/rry7lw877/Screenshot_2015_09_29_21_17_53.png\"\u003e\u003c/img\u003e\n\u003cimg src=\"http://i.giphy.com/3oEduFls2tAwrOALzG.gif\"\u003e\u003c/img\u003e\n\n\n# Feature\n* Editable Style of Text, such as Font size and color.\n* Editable Style of Tag, Background/Pressed Color, Radius effect, Custom Background, Delete mode.\n* Listener of tag selecting and deleting.\n* Can be created from XML file or Java code.\n\n# Gradle\n ``` java\nrepositories {\n    maven {\n        url \"https://jitpack.io\"\n    }\n}\n ```\n ``` java\ndependencies {\n    compile 'com.github.Cutta:TagView:1.3'\n}\n ```\n# Usage\n \u003cpre style='color:#000000;background:#ffffff;'\u003e\u003cspan style='color:#a65700; '\u003e\u0026lt;\u003c/span\u003e\u003cspan style='color:#5f5035; '\u003ecom.cunoraz.tagview.TagView\u003c/span\u003e\n            \u003cspan style='color:#007997; '\u003exmlns\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003etagview\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003ehttp://schemas.android.com/apk/res-auto\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\n            \u003cspan style='color:#007997; '\u003eandroid\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003eid\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003e@+id/tag_group\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\n            \u003cspan style='color:#007997; '\u003eandroid\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003elayout_width\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003ematch_parent\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\n            \u003cspan style='color:#007997; '\u003eandroid\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003elayout_height\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003ematch_parent\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\n            \u003cspan style='color:#007997; '\u003eandroid\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003elayout_margin\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003e10dp\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e \n            \u003cspan style='color:#007997; '\u003etagview\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003elineMargin\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003e5dp\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e \n            \u003cspan style='color:#007997; '\u003etagview\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003etagMargin\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003e5dp\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e \n            \u003cspan style='color:#007997; '\u003etagview\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003etextPaddingLeft\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003e8dp\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e \n            \u003cspan style='color:#007997; '\u003etagview\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003etextPaddingTop\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003e5dp\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e \n            \u003cspan style='color:#007997; '\u003etagview\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003etextPaddingRight\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003e8dp\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e \n            \u003cspan style='color:#007997; '\u003etagview\u003c/span\u003e\u003cspan style='color:#800080; '\u003e:\u003c/span\u003e\u003cspan style='color:#274796; '\u003etextPaddingBottom\u003c/span\u003e\u003cspan style='color:#808030; '\u003e=\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e\u003cspan style='color:#0000e6; '\u003e5dp\u003c/span\u003e\u003cspan style='color:#800000; '\u003e\"\u003c/span\u003e \u003cspan style='color:#a65700; '\u003e/\u003e\u003c/span\u003e\n\u003c/pre\u003e\n \n ``` java\n TagView tagGroup = (TagView)findviewById(R.id.tag_view);\n //You can add one tag\n tagGroup.addTag(Tag tag);\n //You can add multiple tag via ArrayList\n tagGroup.addTags(ArrayList\u003cTag\u003e tags);\n //Via string array\n addTags(String[] tags);\n \n  \n   //set click listener\n      tagGroup.setOnTagClickListener(new OnTagClickListener() {\n            @Override\n            public void onTagClick(Tag tag, int position) {\n            }\n        });\n        \n   //set delete listener\n            tagGroup.setOnTagDeleteListener(new OnTagDeleteListener() {\n            @Override\n            public void onTagDeleted(final TagView view, final Tag tag, final int position) {\n            }\n        });\n\n //set long click listener\n      tagGroup.setOnTagLongClickListener(new OnTagLongClickListener() {\n            @Override\n            public void onTagLongClick(Tag tag, int position) {\n            }\n        });\n```       \n\n# Sample APK\nhttps://www.dropbox.com/s/m1y1npssj5b4bck/app-debug.apk?dl=0\n\n# Credits\n\n\u003ca href = \"https://plus.google.com/u/0/116948443141721480957\"\u003e\u003cimg src = \"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/gplus.png\"/\u003e\u003c/a\u003e\n\u003ca href = \"https://twitter.com/Cuneyt_Carikci\"\u003e\u003cimg src = \"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/twitter.png\"/\u003e\u003c/a\u003e\n\u003ca href = \"https://www.linkedin.com/in/c%C3%BCneyt-%C3%A7ar%C4%B1k%C3%A7i-b4619161?trk=nav_responsive_tab_profile_pic\"\u003e\u003cimg src = \"https://raw.githubusercontent.com/florent37/DaVinci/master/mobile/src/main/res/drawable-hdpi/linkedin.png\"/\u003e\u003c/a\u003e\n# License\nCopyright 2015 Cüneyt Çarıkçi.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n   http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutta%2Ftagview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcutta%2Ftagview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcutta%2Ftagview/lists"}