{"id":13396076,"url":"https://github.com/shts/TriangleLabelView","last_synced_at":"2025-03-13T22:31:41.681Z","repository":{"id":46044628,"uuid":"54247005","full_name":"shts/TriangleLabelView","owner":"shts","description":"Show triangle view.","archived":false,"fork":false,"pushed_at":"2018-05-04T21:21:10.000Z","size":2964,"stargazers_count":877,"open_issues_count":5,"forks_count":120,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-03-04T08:02:15.861Z","etag":null,"topics":["android-library","triangle","view"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shts.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-19T04:16:35.000Z","updated_at":"2025-01-23T03:10:27.000Z","dependencies_parsed_at":"2022-07-18T21:49:11.922Z","dependency_job_id":null,"html_url":"https://github.com/shts/TriangleLabelView","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2FTriangleLabelView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2FTriangleLabelView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2FTriangleLabelView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shts%2FTriangleLabelView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shts","download_url":"https://codeload.github.com/shts/TriangleLabelView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243012679,"owners_count":20221606,"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-library","triangle","view"],"created_at":"2024-07-30T18:00:39.131Z","updated_at":"2025-03-13T22:31:41.665Z","avatar_url":"https://github.com/shts.png","language":"Java","readme":"TriangleLabelView\n====================\nShow triangle view.\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-TriangleLabelView-green.svg?style=true)](https://android-arsenal.com/details/1/3336)\n\n[![](https://jitpack.io/v/shts/TriangleLabelView.svg)](https://jitpack.io/#shts/TriangleLabelView)\n\n\n\u003cimg src=https://github.com/shts/TriangleLabelView/blob/master/img/capture.png width=\"300\" /\u003e\n\n\nHow to Use\n=====\n\nTo see how the TriangleLabelView are added to your xml layouts, check the sample project.\n\n```\n\u003cjp.shts.android.library.TriangleLabelView\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"match_parent\"\n    android:layout_alignParentLeft=\"true\"\n    android:layout_alignParentTop=\"true\"\n    app:backgroundColor=\"@color/yellow_900\"\n    app:corner=\"leftTop\"\n    app:labelBottomPadding=\"5dp\"\n    app:labelCenterPadding=\"0dp\"\n    app:labelTopPadding=\"10dp\"\n    app:primaryText=\"New\"\n    app:primaryTextColor=\"@color/yellow_500\"\n    app:primaryTextSize=\"16sp\"\n    app:secondaryText=\"01\"\n    app:secondaryTextColor=\"@color/yellow_100\"\n    app:secondaryTextSize=\"11sp\" /\u003e\n\n```\n\nInstall\n=====\n\nAdd it in your root `build.gradle` at the end of repositories:\n\n```groovy\nallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url \"https://jitpack.io\" }\n\t\t}\n}\n```\nAdd the dependency\n\n```groovy\n\tdependencies {\n\t        compile 'com.github.shts:TriangleLabelView:1.1.2'\n\t}\n```\n\nCredits\n=======\nI used [LabelView](https://github.com/corerzhang/LabelView) library by [Corer](https://github.com/corerzhang) as a base for development.\n\nLicense\n=======\n\n    Copyright (C) 2016 Shota Saito\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n         http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":["Index `(light-weight pages)`","Index","Java","Libs","Label"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshts%2FTriangleLabelView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshts%2FTriangleLabelView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshts%2FTriangleLabelView/lists"}