Questions tagged [android-bottomnav]

Bottom navigation bars display three to five destinations at the bottom of a screen.

Bottom navigation bars display three to five destinations at the bottom of a screen. Each destination is represented by an icon and an optional text label. When a bottom navigation icon is tapped, the user is taken to the top-level navigation destination associated with that icon.

270 questions
0
votes
0 answers

Why the toolbar menu does not work properly with the bottom navigation bar?

The toolbar menu was working properly until I added the bottom nav. Now the menu is hidden. Here is the code. This activity is a navigation drawer activity and it also has bottom nav. when I remove the commented code (bottom nav) down below the…
ayakhaled
  • 71
  • 1
  • 1
  • 10
0
votes
0 answers

How to make Bottom Navigation Bar as used in spotify/ airbnb app?

I have tried using the android.support.design.widget.BottomNavigationView and also other libraries for bottom navigation menu but the problem i am facing with all of them is that it cannot show full text size. I cannot manipulate the size of the…
bhaskar
  • 991
  • 1
  • 15
  • 37
0
votes
1 answer

How to Freeze Fragment when Open Another Fragment

I make an application using bottombar library. I'm using compile 'com.roughike:bottom-bar:2.0.2' I have 5 fragment like this public class EventFragment extends Fragment { private RecyclerView rcEvent; private EventAdapter mAdapter; …
0
votes
1 answer

Disable animation on tabs click android bottom bar navigation - roughike

I'm using roughike library for bottom bar navigation in my android project. But facing a problem that is when I click on the tabs it's getting bigger. I tried many ways to disable the animation but unable to do it. I asked on the github support page…
Robin
  • 446
  • 2
  • 4
  • 24
0
votes
0 answers

BottomNavigationBar - how to change the colour

The source of this component is : https://github.com/pocheshire/BottomNavigationBar I have a bottom navigation bar in an Android App with 4 tabs on. I want to set the background colour to be the same regardless of selected tab I want to show icon +…
MHugh
  • 455
  • 1
  • 7
  • 20
-1
votes
0 answers

Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x0 when implementing BottomNavigationView

i have annoying error when implementing BottomNavigationView. And some similar questions doesn't solved my problem (this). Actually i have development a complex project but in order to new fixed design it needs BottomNav so i try to implementing…
-1
votes
3 answers

Rounded menu item in BottomNavigationMenu

I want to have rounded corners for each menu item in BottomNavigation menu. Sample menu image is attached. Is it possible?
Mona Baharlou
  • 1,401
  • 1
  • 13
  • 26
-1
votes
1 answer

Opening of first option navigation bar as soon as application starts java

I am making an android project and i am a using bottom navigation bar with activities.While I click on the navigation bar buttons it works perfectly fine but when i start the application it shows me just a navigation bar .I want the first navigation…
-1
votes
1 answer

Change bottom icon when move from one fragment to another

I have a main activity with bottom nav and a frame layout to hold each fragment I have made for the numbers of icon in my botton nav. I have a fragment page in which i have a text and want to change the fragment and also the bottom nav icon from the…
-2
votes
1 answer

How can I show a fragment using a BottomNavigationView with valid back stack?

Edit: The original question was Is there a way to get a reference to a fragment that is displayed using a BottomNavigationView?. But I've figured some things out and realized I was asking the wrong question. I'd like to get a reference to a fragment…
SirRupertIII
  • 12,324
  • 20
  • 72
  • 121
-2
votes
2 answers

How, Android Bottom Navigation Bar hide permanently or disable

my requirement(security purpose) is when user log into my app he is not allow to close app navigate to another app not allow to change setting so to fulfilled this requirement i want to Hide Bottom navigation Bar (or) disable Bottom…
damith alahakoon
  • 270
  • 4
  • 14
-2
votes
3 answers

My app stops unexpectedly when I switch to another fragment through bottom navigation

I have just started learning layouts and basic UI elements of Android Studio as well as how it organizes the files which are drawable, layouts, strings, activities etc. So, I have managed to add a basic navigation widget to one activity that has 5…
heisenberg
  • 1,784
  • 4
  • 33
  • 62
-3
votes
1 answer

An example of how to create tabs within a bottom nav fragment?

I am trying to create tabs within a fragment. I have a 3 fragments for example in this fragment named "fragment_home.xml", I want to add 2 tabs to it here is the xml file :
-5
votes
1 answer

Bottom Navigation Android

So I seen the new PlayStaion app for android and I was wondring if I can find a library to implement a bottom navigation like it if any one know a library like this please comment. here is a screenshot of PlayStaion Android App
-6
votes
2 answers

How divide space between Bottom Navigation View?

I need to create Bottom Navigation with two menu item. but the view ratio is 30:70 and text gravity is in centre. one menu contain image and text one is only text
1 2 3
17
18