A custom view component that mimics the new Material Design Bottom Navigation pattern. You can add items by writing a XML resource file. The icons must be fully opaque, solid black color, 24dp and with no padding. For example, with Android Asset Studio Generic Icon generator, select "TRIM" and make sure the padding is 0dp. Define your tabs in an XML resource file. Then, add the BottomBar to your layout and give it a resource id for your tabs xml file. By default, the tabs don't do anything unless you listen for selection events and do something when the tabs are selected. This new version has cleaner code and better APIs. No more unnecessary stuff or spaghetti mess. Now the look, feel and behavior is defined in XML, as it should be. No more nasty regressions, thanks to the automated tests. Everything is a little different compared to earlier, but it's for the greater good!

Features

  • Set up listeners
  • Intercept tab selections
  • Change icons based on selection state
  • The minSDK version is API level 11 (Honeycomb)
  • Create icons
  • Add items from XML resource

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow BottomBar

BottomBar Web Site

Other Useful Business Software
Gemini 3 and 200+ AI Models on One Platform Icon
Gemini 3 and 200+ AI Models on One Platform

Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

Build generative AI apps with Vertex AI Studio. Switch between models without switching platforms.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of BottomBar!

Additional Project Details

Operating Systems

Android, Apple iPhone

Programming Language

Java

Related Categories

Java User Interface (UI) Software

Registered

2021-07-06