{"id":13396206,"url":"https://github.com/Devlight/NavigationTabStrip","last_synced_at":"2025-03-13T22:31:49.990Z","repository":{"id":39042708,"uuid":"58871536","full_name":"Devlight/NavigationTabStrip","owner":"Devlight","description":"Navigation tab strip with smooth interaction.","archived":false,"fork":false,"pushed_at":"2020-10-02T08:51:23.000Z","size":226,"stargazers_count":2234,"open_issues_count":38,"forks_count":313,"subscribers_count":62,"default_branch":"master","last_synced_at":"2024-10-29T17:52:27.071Z","etag":null,"topics":["android","bar","devlight","library","navigation","strip","tab","ui"],"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/Devlight.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}},"created_at":"2016-05-15T16:17:24.000Z","updated_at":"2024-10-24T14:52:26.000Z","dependencies_parsed_at":"2022-08-09T08:19:05.577Z","dependency_job_id":null,"html_url":"https://github.com/Devlight/NavigationTabStrip","commit_stats":null,"previous_names":["devlight-mobile-agency/navigationtabstrip"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devlight%2FNavigationTabStrip","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devlight%2FNavigationTabStrip/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devlight%2FNavigationTabStrip/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Devlight%2FNavigationTabStrip/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Devlight","download_url":"https://codeload.github.com/Devlight/NavigationTabStrip/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242894951,"owners_count":20203080,"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","bar","devlight","library","navigation","strip","tab","ui"],"created_at":"2024-07-30T18:00:42.374Z","updated_at":"2025-03-13T22:31:49.970Z","avatar_url":"https://github.com/Devlight.png","language":"Java","readme":"\u003cbr/\u003e\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"http://devlight.io\"\u003e\n      \u003cimg src =\"https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wScLVBKck51Z1Rzb0E\" alt=\"Devlight\"/\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003cbr/\u003e\n\nNavigationTabStrip\n==================\n\nNavigation tab strip with smooth interaction.\n\n[![Android Arsenal](https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wScN3B6NjFmWDVKaVE)](http://android-arsenal.com/details/1/3603)\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n[![Android](https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wSccEZaclNGN0R5OWc)](https://github.com/DevLight-Mobile-Agency)\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n[![Download](https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wScdFUzeWFwUURBME0)](https://bintray.com/gigamole/maven/navigationtabstrip/_latestVersion)\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n[![License](https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wScU0tmeFpGMHVWNWs)](https://github.com/DevLight-Mobile-Agency/NavigationTabStrip/blob/master/LICENSE.txt)\n\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\n[![Codacy](https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wScSHhmckZyeGJDcXc)](https://www.codacy.com/app/gigamole53/NavigationTabStrip?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=DevLight-Mobile-Agency/NavigationTabStrip\u0026amp;utm_campaign=Badge_Grade)\n\n\u003cbr/\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src =\"https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wScR3FUNTRvS1BJeEE\" alt=\"Devlight\"/\u003e\n\u003c/p\u003e\n\nYou can check the sample app [here](https://github.com/DevLight-Mobile-Agency/NavigationTabStrip/tree/master/app).\n\nWarn\n====\n```\nThis library is not more supported. \nIf you want to add new feature or fix a bug, grab source code and do it. \nIf you think your fix or feature would be useful to other developers, \nI can add link of your repository to this README file. \nThank you for using our libraries.\n```\n\nDownload\n========\n\nYou can download a `.aar` from GitHub's [releases page](https://github.com/DevLight-Mobile-Agency/NavigationTabStrip/releases).\n\nOr use Gradle jCenter:\n\n```groovy\ndependencies {\n    repositories {\n        mavenCentral()\n        maven {\n            url  'http://dl.bintray.com/gigamole/maven/'\n        }\n    }\n    implementation 'com.github.devlight.navigationtabstrip:navigationtabstrip:+'\n}\n```\n\nOr Gradle Maven Central:\n\n```groovy\ncompile 'com.github.devlight.navigationtabstrip:navigationtabstrip:1.0.4'\n```\n\nOr Maven:\n\n```groovy\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.github.devlight.navigationtabstrip\u003c/groupId\u003e\n    \u003cartifactId\u003enavigationtabstrip\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.4\u003c/version\u003e\n    \u003ctype\u003eaar\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\nAndroid SDK Version\n===================\n\n`NavigationTabStrip` requires a minimum SDK version of 11. \n\nSample\n======\n\n\u003cb\u003eParameters\u003c/b\u003e\n\nFor `NTS` you can set such parameters as:\n \n - color:  \n    allows you to set strip color.\n    \n - size:  \n    allows you to set titles size. By default `NTS` use auto titles size.\n    \n - weight:  \n    allows you to set weight(height) of strip.\n    \n - factor:  \n    allows you to set strip resize factor.\n    \n - titles:  \n    allows you to set `NTS` titles. This is your tabs.\n    \n - type:  \n    allows you to set strip type - line or point.\n    \n - gravity:  \n    allows you to set strip gravity - top or bottom.\n    \n - view pager:  \n    allows you to connect `NTS` with `ViewPager`. If you want your can also set `OnPageChangeListener`.    \n    \n - typeface:  \n    allows you to set custom typeface to your titles.\n \n - corners radius:  \n    allows you to set corners radius of strip.\n\n - animation duration:  \n    allows you to set animation duration.\n      \n - inactive color:  \n    allows you to set inactive titles color.\n     \n - active color:  \n    allows you to set active title color.\n     \n - tab strip listener:  \n    allows you to set listener which triggering on start or on end when you set tab index.\n\n\u003cb\u003eTips\u003c/b\u003e\n\nIf your set `ViewPager` you can action down on active tab and do like drag.  \n`NTS` use only upper case titles.\n\n\u003cb\u003eInit\u003c/b\u003e\n\nCheck out in code init:\n\n```java\nfinal NavigationTabStrip navigationTabStrip = (NavigationTabStrip) findViewById(R.id.nts);\nnavigationTabStrip.setTitles(\"Nav\", \"Tab\", \"Strip\");\nnavigationTabStrip.setTabIndex(0, true);\nnavigationTabStrip.setTitleSize(15);\nnavigationTabStrip.setStripColor(Color.RED);\nnavigationTabStrip.setStripWeight(6);\nnavigationTabStrip.setStripFactor(2);\nnavigationTabStrip.setStripType(NavigationTabStrip.StripType.LINE);\nnavigationTabStrip.setStripGravity(NavigationTabStrip.StripGravity.BOTTOM);\nnavigationTabStrip.setTypeface(\"fonts/typeface.ttf\");\nnavigationTabStrip.setCornersRadius(3);\nnavigationTabStrip.setAnimationDuration(300);\nnavigationTabStrip.setInactiveColor(Color.GRAY);\nnavigationTabStrip.setActiveColor(Color.WHITE);\nnavigationTabStrip.setOnPageChangeListener(...);\nnavigationTabStrip.setOnTabStripSelectedIndexListener(...);\n```\n            \nOther methods check out in sample.\n\nAnd XML init:\n\n```xml\n\u003ccom.gigamole.navigationtabstrip.NavigationTabStrip\n    android:layout_width=\"match_parent\"\n    android:layout_height=\"50dp\"\n    app:nts_color=\"#000\"\n    app:nts_size=\"15sp\"\n    app:nts_weight=\"3dp\"\n    app:nts_factor=\"2.5\"\n    app:nts_titles=\"@array/titles\"\n    app:nts_type=\"point\"\n    app:nts_gravity=\"top\"\n    app:nts_typeface=\"fonts/typeface.otf\"\n    app:nts_corners_radius=\"1.5dp\"\n    app:nts_animation_duration=\"300\"\n    app:nts_active_color=\"#000\"\n    app:nts_inactive_color=\"#c4c4c4\"/\u003e\n```\n\nGetting Help\n============\n\nTo report a specific problem or feature request, [open a new issue on Github](https://github.com/DevLight-Mobile-Agency/NavigationTabStrip/issues/new).\n\nXamarin\n=======\n\nThanks to [Martijn van Dijk](https://github.com/martijn00) for developing Xamarin bindings library for [NavigationTabStrip](https://github.com/martijn00/NavigationTabStripXamarin).  \nPlugin is available on [Nuget](https://www.nuget.org/packages/Xam.Plugins.Android.NavigationTabStrip/).\n\n\nCredits\n=======\n\n|[Keren Rijensky](https://dribbble.com/KerenRij)|[Srikant Shetty](https://dribbble.com/Srikant)|[Oleg Frolov](https://dribbble.com/Volorf)|\n|:---------------------------------------------:|:--------------------------------------------:|:----------------------------------------:|\n|[![](https://d13yacurqjgara.cloudfront.net/users/259538/screenshots/2594107/tabs-transition.gif)](https://dribbble.com/shots/2594107-tabs-transition)|[![](https://s-media-cache-ak0.pinimg.com/originals/42/b4/47/42b447c201642b2e82c981bc6599d850.gif)](https://dribbble.com/shots/2125041-Tab-interaction)|[![](https://s-media-cache-ak0.pinimg.com/originals/40/ae/5e/40ae5eed129a90ac9e7ee73cdb24e69d.gif)](https://dribbble.com/shots/2561589-Tabs)|\n\nAuthor\n======\n\nCreated by [Basil Miller](https://github.com/GIGAMOLE) - [@gigamole](mailto:gigamole53@gmail.com)\n\nCompany\n=======\n\n[![Facebook](https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wScaGhGVFNKU0VxMnc)](https://www.facebook.com/devlightagency)\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;[![Twitter](https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wScZ1ExQWh5cHF5cVE)](https://twitter.com/DevLightIO)\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;[![LinkedIn](https://drive.google.com/uc?export=download\u0026id=0BxPO_UeS7wSccGZINzEycE1nVFE)](https://www.linkedin.com/company/devlight)\n\n[Here](https://github.com/DevLight-Mobile-Agency) you can see open source work developed by Devlight LLC.  \nThis and another works is an exclusive property of Devlight LLC. \n\nIf you want to use this library in applications which will be available on Google Play, please report us about it or author of the library.\n\nWhether you're searching for a new partner or trusted team for creating your new great product we are always ready to start work with you. \n\nYou can contact us via info@devlight.io or opensource@devlight.io.  \nThanks in advance.\n\nDevlight LLC, 2016  \n[devlight.io](http://devlight.io) \n","funding_links":[],"categories":["Index `(light-weight pages)`","Library","Index"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDevlight%2FNavigationTabStrip","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDevlight%2FNavigationTabStrip","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDevlight%2FNavigationTabStrip/lists"}