{"id":13428816,"url":"https://github.com/iammert/AnimatedTabLayout","last_synced_at":"2025-03-16T02:30:30.632Z","repository":{"id":32072796,"uuid":"131515836","full_name":"iammert/AnimatedTabLayout","owner":"iammert","description":"Yet another android tab layout","archived":false,"fork":false,"pushed_at":"2022-08-04T09:31:29.000Z","size":6112,"stargazers_count":799,"open_issues_count":11,"forks_count":76,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-03-11T10:09:57.070Z","etag":null,"topics":["android","animation","customview","kotlin","tablayout","tabs"],"latest_commit_sha":null,"homepage":"","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/iammert.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":"2018-04-29T17:41:49.000Z","updated_at":"2025-03-04T06:47:47.000Z","dependencies_parsed_at":"2022-07-29T00:09:03.252Z","dependency_job_id":null,"html_url":"https://github.com/iammert/AnimatedTabLayout","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FAnimatedTabLayout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FAnimatedTabLayout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FAnimatedTabLayout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iammert%2FAnimatedTabLayout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iammert","download_url":"https://codeload.github.com/iammert/AnimatedTabLayout/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243815571,"owners_count":20352193,"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","animation","customview","kotlin","tablayout","tabs"],"created_at":"2024-07-31T01:01:05.876Z","updated_at":"2025-03-16T02:30:30.106Z","avatar_url":"https://github.com/iammert.png","language":"Kotlin","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# AnimatedTabLayout\nYet another tab layout.\n\u003cimg src=\"https://raw.githubusercontent.com/iammert/AnimatedTabLayout/master/art/cover.png\"/\u003e\n\n# GIF\n\u003cimg src=\"https://raw.githubusercontent.com/iammert/AnimatedTabLayout/master/art/gf.gif\"/\u003e\n\n\n# Motivation\nThanks to [Igor](https://dribbble.com/motionigor) for sharing this awesome animation. I motivated myself to create android library.\n\n[Check out the concept](https://www.uplabs.com/posts/phone-app-animation-asus-zenui-6-0-concept)\n\n# Setup\n* Create your tabs file under res/xml/ folder.\n```html\n\u003c?xml version=\"1.0\" encoding=\"utf-8\"?\u003e\n\u003ctabs size=\"@dimen/size\"\n    space=\"@dimen/space\"\u003e\n\n    \u003ctab\n        inactiveColor=\"@color/colorGray\"\n        activeColor=\"@color/colorOrange\"\n        drawable=\"@drawable/ic_star_white_24dp\"/\u003e\n\n    \u003ctab\n        inactiveColor=\"@color/colorGray\"\n        activeColor=\"@color/colorBlue\"\n        drawable=\"@drawable/ic_dialpad_white_24dp\"/\u003e\n\n    \u003ctab\n        inactiveColor=\"@color/colorGray\"\n        activeColor=\"@color/colorRed\"\n        drawable=\"@drawable/ic_access_time_white_24dp\"/\u003e\n\n    \u003ctab\n        inactiveColor=\"@color/colorGray\"\n        activeColor=\"@color/colorPurple\"\n        drawable=\"@drawable/ic_account_circle_white_24dp\"/\u003e\n\u003c/tabs\u003e\n```\n\n* Add tabs\n```xml\n\u003ccom.iammert.library.AnimatedTabLayout\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        app:atl_tabs=\"@xml/tabs\"/\u003e\n```\n* Setup with viewpager or listen change on tab click.\n```kotlin\natl.setupViewPager(viewpager)\natl.setTabChangeListener(object : AnimatedTabLayout.OnChangeListener {\n    override fun onChanged(position: Int) {\n    }\n})\n```\n\n# Dependency\n```gradle\nallprojects {\n    repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n\ndependencies {\n      implementation 'com.github.iammert:AnimatedTabLayout:0.1'\n}\n```\n\n# TODO\n- [ ] Animated Vector Drawable on tab expand.\n- [ ] tabMode support(scrolling, fixed)\n\nLicense\n--------\n\n\n    Copyright 2018 Mert Şimşek.\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\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammert%2FAnimatedTabLayout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiammert%2FAnimatedTabLayout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiammert%2FAnimatedTabLayout/lists"}