Questions tagged [bottombar]

89 questions
0
votes
1 answer

How to highlight element on a bottom bar in Android, without using Fragments

I'm developing an app, which has three activities; you can switch the activities using a bottom bar. However, whenever I switch the activity, the bottom bar highlights the first element, and not the element correspondent to the activity I chose.…
Paolo Mazza
  • 87
  • 11
0
votes
2 answers

Android Bottom Navigation - Maintaining Activity State

I know it's recommended to use Fragments instead of Activities when working with Bottom Navigation. Due to the current design, I want to avoid having to convert all the Activities The Design: I am using a Bottom Navigation bar like shown Each tab is…
Alan
  • 9,331
  • 14
  • 52
  • 97
0
votes
1 answer

XML items doesn't match correctly

I'm having problems with my Android Application. I'm trying to fix my snackbar's layout because it doesn't fit well with my BottomBar. If you see the picture I posted, you can see there's a small space between the two items which shouldn't…
Cesarsk
  • 153
  • 1
  • 2
  • 14
0
votes
1 answer

Roughlike bottom bar is setting default item, on going to new activity

I have created an android app, that have a bottom navigation bar. I am using roughlike bottom navigation bar, and passed intents for each item. On each activity, again I created bottom bar. But the problem is, while new activity is created, the…
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

How to hide Items from bottom bar programmatically

I am adding bottom bar using This Library. I want to user can enable disable item by filter which tab should be show or hide. but i can't able to hide the items programmatically. is there any way to hide the tabs programmatically. TABS
Shashank Verma
  • 284
  • 4
  • 19
0
votes
4 answers

Set roughike bottombar drawable background

I am using roughike bottombar to navigate through fragments in my project, I am trying to set a drawable background to my bottombar but is having difficulty doing so. The example in the official guide https://github.com/roughike/BottomBar only shows…
JerryKo
  • 384
  • 7
  • 25
0
votes
2 answers

How to set the dialog in full screen above the bottom tab bar?

I have the screen where I need to open the dialog in full screen but it should be above the bottom tab bar. The code used to make the dialog appear in whole screen is as follows: WindowManager.LayoutParams lp = new…
Siraj Sumra
  • 934
  • 1
  • 11
  • 28
-1
votes
3 answers

How to disable BottomNavigationView while something is running in the selected Fragment?

I make use of BottomNavigationView in the current project I do. I have four fragments. This is a SpeedTest app. If I try to switch to another Fragment while the speed test is running, the app crashes. What I think is to disable the Bottombar while…
-1
votes
3 answers

How to add a number to Bottom Bar like the image

I am currently using a smooth bottom bar library.
Aditya Rana
  • 84
  • 1
  • 4
-1
votes
1 answer

How to not display icon on nav bar with xamarin.forms?

I would like to have a bottom navbar on my app. But when I use tabbed page, the content that is displayed in the app must be one of tabs on the nav bar.