Check Mobile App
Read now
Start a Project

How to change the size of BottomNavigationView icons

Save

BottomNavigationView is a class which is used in Android to provide user a better and easier way to switch between the top-level views in a single tap. I am assuming that you are aware of BottomNavigationView, If you are not then I suggest you go through the below-provided blog link to better understand this blog. We will be directly discussing the modifications that will be needed to change the icon size.

How to use BottomNavigationView in android

 

Let us now discuss the changes needs to be done in order to change the icon size.

To change the icon size you need to pick every icon individually and set its size. You can do this using a for loop to adjust all sizes or you can change the size of a particular icon to create your custom effect.

Below is the code segment which will help you understand the changes that need to be done and how can you pick the icons.

You can set the size according to your need and it will work like a charm.

Thank you very much. This is Vedesh Kumar signing off.

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

Excellent work, fast, good quality and understood the brief perfectly! Quick responses developing the project and very good cooperation. I suggest to anyone.

Stathis Plakidas

Stathis Plakidas

Talk to Sales

Global

Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home