{"id":19300091,"url":"https://github.com/armcha/luseenbottomnavigation","last_synced_at":"2025-04-12T23:30:34.685Z","repository":{"id":44499647,"uuid":"54264642","full_name":"armcha/LuseenBottomNavigation","owner":"armcha","description":"BottomNavigationView  Designed according Google guideLine","archived":false,"fork":false,"pushed_at":"2018-03-22T11:39:39.000Z","size":1283,"stargazers_count":1013,"open_issues_count":15,"forks_count":180,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-04T02:09:47.391Z","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/armcha.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-19T12:23:24.000Z","updated_at":"2025-02-18T09:11:26.000Z","dependencies_parsed_at":"2022-09-01T18:23:25.246Z","dependency_job_id":null,"html_url":"https://github.com/armcha/LuseenBottomNavigation","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/armcha%2FLuseenBottomNavigation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armcha%2FLuseenBottomNavigation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armcha%2FLuseenBottomNavigation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/armcha%2FLuseenBottomNavigation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/armcha","download_url":"https://codeload.github.com/armcha/LuseenBottomNavigation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647249,"owners_count":21139081,"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-11-09T23:13:48.355Z","updated_at":"2025-04-12T23:30:34.635Z","avatar_url":"https://github.com/armcha.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Material Bottom Navigation\n# DEPRECATED\nUse offical [Bottom Navigation](https://developer.android.com/reference/android/support/design/widget/BottomNavigationView.html)\n\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-LuseenBottomNavigation-green.svg?style=true)](https://android-arsenal.com/details/1/3337)\n\nBottomNavigationView\n\nDesigned according Google [guideLine][1]\n[1]: https://www.google.com/design/spec/components/bottom-navigation.html#bottom-navigation-usage\n[2]: http://luseen.com/\n[3]: http://fir.im/luseen?release_id=56feaea800fc741d61000000\nBy [Luseen][2] Technologies \n\n[Download simple apk][3]\n\n\n\n![](ScreenShots/gifView2.gif)\n![](ScreenShots/screen4.png)\n\n\nDownload\n--------\n\nGradle:\n```groovy\ncompile 'com.github.armcha:LuseenBottomNavigation:1.8.2'\n```\nMaven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.github.armcha\u003c/groupId\u003e\n  \u003cartifactId\u003eLuseenBottomNavigation\u003c/artifactId\u003e\n  \u003cversion\u003e1.8.2\u003c/version\u003e\n  \u003ctype\u003epom\u003c/type\u003e\n\u003c/dependency\u003e\n```\nUsage\n-----\n\nAdd the BottomNavigationView to your layout\n\n```xml\n \u003ccom.luseen.luseenbottomnavigation.BottomNavigation.BottomNavigationView\n        android:id=\"@+id/bottomNavigation\"\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:layout_alignParentBottom=\"true\" /\u003e\n```\n\nAdd BottomNavigation items \n\n```java\n  BottomNavigationView bottomNavigationView = (BottomNavigationView) findViewById(R.id.bottomNavigation);\n  \n   BottomNavigationItem bottomNavigationItem = new BottomNavigationItem\n                (\"Record\", ContextCompat.getColor(this, R.color.firstColor), R.drawable.ic_mic_black_24dp);\n   BottomNavigationItem bottomNavigationItem1 = new BottomNavigationItem\n                (\"Like\", ContextCompat.getColor(this, R.color.secondColor), R.drawable.ic_favorite_black_24dp);\n  bottomNavigationView.addTab(bottomNavigationItem);\n  bottomNavigationView.addTab(bottomNavigationItem1);\n```\n\nThen set your `OnBottomNavigationItemClickListener`\n\n```java\n \nbottomNavigationView.setOnBottomNavigationItemClickListener(new OnBottomNavigationItemClickListener() {\n            @Override\n            public void onNavigationItemClick(int index) {\n                 Toast.makeText(MainActivity.this, \"Item \" +index +\" clicked\", Toast.LENGTH_SHORT).show();\n            }\n        });\n```\nIf you are using a `ViewPager` , you can connect to the `BottomNavigationView`,\nSet color in this way, when using view pager:\n  \n  ```java\n   ContextCompat.getColor(context, R.color.firstColor)\n   bottomNavigationView.setUpWithViewPager(yourPager , colorResources , imageResources);\n  ```\nYou can disable slide animation when using viewPager\n  ```java\n  bottomNavigationView.disableViewPagerSlide();\n  ```\n  \nIf your activity/fragment will not recreate and bottom navigation items doubled on orientation change,\njust can call this method\n     \n```java\nbottomNavigationView.willNotRecreate(true);\n```\n\n\nCustomize\n---------\n\nCustomize with xml\n\n```xml\n  \u003ccom.luseen.luseenbottomnavigation.BottomNavigation.BottomNavigationView\n         android:id=\"@+id/bottomNavigation\"\n         android:layout_width=\"match_parent\"\n         android:layout_height=\"wrap_content\"\n         android:layout_alignParentBottom=\"true\"\n         app:bnv_colored_background=\"true\"\n         app:bnv_with_text=\"false\"\n         app:bnv_shadow=\"true\"\n         app:bnv_tablet=\"false\"\n         app:bnv_viewpager_slide=\"true\"\n         app:bnv_active_color=\"@color/colorPrimary\"\n         app:bnv_active_text_size=\"@dimen/bottom_navigation_text_size_active\"\n         app:bnv_inactive_text_size=\"@dimen/bottom_navigation_text_size_inactive\"/\u003e\n```\n\nor programmatically\n\n\nYou can activate tablet mode\n```java\n bottomNavigationView.activateTabletMode();\n```\n![](ScreenShots/gifView4.gif)\n\n```java\n bottomNavigationView.isWithText(true);\n```\n![](ScreenShots/gifView.gif)\n```java\n bottomNavigationView.isColoredBackground(false);\n bottomNavigationView.setItemActiveColorWithoutColoredBackground(yourColor);\n```\n![](ScreenShots/gifView3.gif)\n\nChange text active or inactive size\n```java\n  bottomNavigationView.setTextActiveSize(float yoursize);\n  bottomNavigationView.setTextInactiveSize(float yoursize);\n```\n\nChange tab programmatically\n```java\nbottomNavigationView.selectTab(int position);\n```\n\nYou can just disable BottomNavigationView shadow by calling \n```java\n bottomNavigationView.disableShadow();\n```\n \nYou can set your custom font for item text.\nassets/fonts/your_font.ttf\n```java\n bottomNavigationView.setFont(Typeface.createFromAsset(getApplicationContext().getAssets(), \"fonts/your_font.ttf\"));\n```\n\n## Contact \n\nPull requests are more than welcome.\n\nPlease fell free to contact me if there is any problem when using the library.\n\n- **email**: armcha01@gmail.com\n- **facebook**: https://web.facebook.com/chatikyana\n- **website**: http://luseen.com/\n\nLicense\n--------\n\n\n          Copyright 2016 Arman Chatikyan\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmcha%2Fluseenbottomnavigation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farmcha%2Fluseenbottomnavigation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farmcha%2Fluseenbottomnavigation/lists"}