{"id":26917651,"url":"https://github.com/talebrafiepour/singlechoice","last_synced_at":"2026-06-15T20:31:35.482Z","repository":{"id":270106411,"uuid":"184921104","full_name":"TalebRafiepour/SingleChoice","owner":"TalebRafiepour","description":"single choice view for android","archived":false,"fork":false,"pushed_at":"2019-06-24T10:03:42.000Z","size":579,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-24T12:50:24.163Z","etag":null,"topics":["android","choice","choiceview","kotlin","selector","singlechoice","tablayout","tabs"],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","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/TalebRafiepour.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-05-04T16:49:00.000Z","updated_at":"2019-09-16T05:49:15.000Z","dependencies_parsed_at":"2024-12-28T13:47:41.376Z","dependency_job_id":"cc7fe580-86c4-41d3-9318-d532f5c0b1d6","html_url":"https://github.com/TalebRafiepour/SingleChoice","commit_stats":null,"previous_names":["talebrafiepour/singlechoice"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/TalebRafiepour/SingleChoice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalebRafiepour%2FSingleChoice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalebRafiepour%2FSingleChoice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalebRafiepour%2FSingleChoice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalebRafiepour%2FSingleChoice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TalebRafiepour","download_url":"https://codeload.github.com/TalebRafiepour/SingleChoice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TalebRafiepour%2FSingleChoice/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34379915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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","choice","choiceview","kotlin","selector","singlechoice","tablayout","tabs"],"created_at":"2025-04-01T20:50:12.091Z","updated_at":"2026-06-15T20:31:35.459Z","avatar_url":"https://github.com/TalebRafiepour.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SingleChoice\nsingle choice view for android\n\n\u003cimg src=\"https://github.com/TalebRafiepour/SingleChoice/blob/master/SingleChoiceGif.gif\" width=\"303\"/\u003e\n\n\n\nStep 1. Add the JitPack repository to your build file\n\nAdd it in your root build.gradle at the end of repositories:\n```\nallprojects {\n\t\trepositories {\n\t\t\t...\n\t\t\tmaven { url 'https://jitpack.io' }\n\t\t}\n\t}\n   ``` \n  Step 2. Add the dependency\n  ```\n  dependencies {\n\t        implementation 'com.github.TalebRafiepour:SingleChoice:0.4'\n\t}\n```\nUsage: \n```\n \u003ccom.taleb.widget.SingleChoiceView\n        android:id=\"@+id/singleChoiceView\"\n        android:layout_width=\"match_parent\"\n        android:layout_margin=\"20dp\"\n        android:layout_height=\"wrap_content\"\n        android:layout_gravity=\"center|top\"\n        app:sc_choices=\"@array/choices\"\n        app:sc_stroke_width=\"1dp\"\n        app:sc_choice_padding=\"10dp\"\n        app:sc_corner_radius=\"5dp\"\n        app:sc_select_position=\"1\"\n        app:sc_choice_text_size=\"14sp\"\n        app:sc_choice_text_font=\"fonts/Raleway-Medium.ttf\"/\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalebrafiepour%2Fsinglechoice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftalebrafiepour%2Fsinglechoice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftalebrafiepour%2Fsinglechoice/lists"}