{"id":13396267,"url":"https://github.com/xenione/tab-digit","last_synced_at":"2026-01-16T07:45:15.035Z","repository":{"id":43622877,"uuid":"71649119","full_name":"xenione/tab-digit","owner":"xenione","description":"A Flip Digit Libray","archived":false,"fork":false,"pushed_at":"2019-05-13T07:19:28.000Z","size":1379,"stargazers_count":611,"open_issues_count":2,"forks_count":83,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-07-31T18:16:52.339Z","etag":null,"topics":[],"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/xenione.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-10-22T15:50:26.000Z","updated_at":"2024-07-16T05:59:30.000Z","dependencies_parsed_at":"2022-08-20T03:10:27.527Z","dependency_job_id":null,"html_url":"https://github.com/xenione/tab-digit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenione%2Ftab-digit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenione%2Ftab-digit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenione%2Ftab-digit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenione%2Ftab-digit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xenione","download_url":"https://codeload.github.com/xenione/tab-digit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243494170,"owners_count":20299776,"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":[],"created_at":"2024-07-30T18:00:43.437Z","updated_at":"2026-01-16T07:45:15.021Z","avatar_url":"https://github.com/xenione.png","language":"Java","funding_links":[],"categories":["Index `(light-weight pages)`","其他","Index"],"sub_categories":[],"readme":"# Tab Digit\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Tab%20digit-brightgreen.svg?style=flat)](http://android-arsenal.com/details/1/4786)  [![Download](https://api.bintray.com/packages/xenione/maven/tab-digit/images/download.svg) ](https://bintray.com/xenione/maven/tab-digit/_latestVersion)\n\nA Flip Clock Libray.Have a look at the demo app available on [google play](https://play.google.com/store/apps/details?id=com.xenione.libs.digit)\n\n![tab-digit](https://cloud.githubusercontent.com/assets/4138527/20869273/258ed640-ba6f-11e6-892c-a5986896134c.gif)\n\nthis is what you can do with Tab digit\n\n![clock](https://cloud.githubusercontent.com/assets/4138527/20869514/f503a208-ba73-11e6-800b-802d493e1a86.gif)\n\n\nAdd it on your project:\n\nGradle:\n```java \ncompile 'com.xenione.libs:tab-digit:1.0.2'\n```\n\nAdd tabdigit in your layout, you can set attributes like background or text color, text size and padding through xml as shown.\n\n```java \n \u003ccom.xenione.digit.TabDigit\n     xmlns:digit=\"http://schemas.android.com/apk/res-auto\"\n        android:id=\"@+id/tabDigit1\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        android:layout_gravity=\"center\"\n        android:layout_weight=\"1\"\n        digit:backgroundColor=\"#000000\"\n        digit:padding=\"10dp\"\n        digit:textColor=\"#ffffff\"\n        digit:textSize=\"60dp\" /\u003e\n  ```      \n\nstart animation calling start().\n\n```java \ntabDigit1.start();\n  ```  \nIncrease digit every second:\n\n```java \nViewCompat.postOnAnimationDelayed(tabDigit1, this, 1000);\n\n@Override\n    public void run() {\n        tabDigit1.start();\n        ViewCompat.postOnAnimationDelayed(tabDigit1, this, 1000);\n    }\n  ```  \n\n# License\n-------\n    Copyright 2016 Eugeni Josep Senent i Gabriel\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenione%2Ftab-digit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxenione%2Ftab-digit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenione%2Ftab-digit/lists"}