android-bottom-nav-view

How to change a specific icon image from Bottom Navigation View

此生再无相见时 提交于 2021-02-07 04:19:49
问题 I need to implement a Bottom Navigation View in my android app. The middle icon needs to be an image, the company logo. But when I run the app it appears only a grey filled rounded icon. The images above show what I want and what I'm getting. What I want: What I get: I already tried others questions in this website, but every answer tells to change the iconTintList from XML with a drawable, but the center icon is a vector with more than one color. When I tried to set null to setIconTintList

How to change a specific icon image from Bottom Navigation View

北战南征 提交于 2021-02-07 04:18:59
问题 I need to implement a Bottom Navigation View in my android app. The middle icon needs to be an image, the company logo. But when I run the app it appears only a grey filled rounded icon. The images above show what I want and what I'm getting. What I want: What I get: I already tried others questions in this website, but every answer tells to change the iconTintList from XML with a drawable, but the center icon is a vector with more than one color. When I tried to set null to setIconTintList

How to change a specific icon image from Bottom Navigation View

不羁岁月 提交于 2021-02-07 04:18:48
问题 I need to implement a Bottom Navigation View in my android app. The middle icon needs to be an image, the company logo. But when I run the app it appears only a grey filled rounded icon. The images above show what I want and what I'm getting. What I want: What I get: I already tried others questions in this website, but every answer tells to change the iconTintList from XML with a drawable, but the center icon is a vector with more than one color. When I tried to set null to setIconTintList

How to change a specific icon image from Bottom Navigation View

∥☆過路亽.° 提交于 2021-02-07 04:18:09
问题 I need to implement a Bottom Navigation View in my android app. The middle icon needs to be an image, the company logo. But when I run the app it appears only a grey filled rounded icon. The images above show what I want and what I'm getting. What I want: What I get: I already tried others questions in this website, but every answer tells to change the iconTintList from XML with a drawable, but the center icon is a vector with more than one color. When I tried to set null to setIconTintList

Android Navigation Component + Login Flow + Nested BottomNavigationView

流过昼夜 提交于 2020-05-25 04:49:04
问题 I'm struggle building a Navigation, like on the image below, with the Android Navigation Component. I need a "Login Flow", check if the user is logged in and then navigate to the main part of the app (also clearing the backstack). The main part contains a BottomNavigationView with three tabs. But if I click on a settings icon on the toolbar, I also want to display a fullscreen SettingsFragment. Did I need two NavHostFragments with separate navigation graphs? If yes, how can I combine them and

How to use Android Navigation Component + BottomNavigationView+ NavigationView (Navigation Drawer)

自闭症网瘾萝莉.ら 提交于 2020-04-10 03:31:31
问题 I would like to know what is the best practice of using Navigation Component + BottomNavigationView + NavigationDrawer. I have tried google's advanced sample for Navigation component. It worked very well for multiple back stack modules. Because it has a workaround extension. When using this approach, each bottom tab has its own graph and the graphs change as you select one of the tabs. But when NavigationView is integrated, it needs to know the navigation graph in advance. But in advanced

How to use Android Navigation Component + BottomNavigationView+ NavigationView (Navigation Drawer)

可紊 提交于 2020-04-10 03:30:27
问题 I would like to know what is the best practice of using Navigation Component + BottomNavigationView + NavigationDrawer. I have tried google's advanced sample for Navigation component. It worked very well for multiple back stack modules. Because it has a workaround extension. When using this approach, each bottom tab has its own graph and the graphs change as you select one of the tabs. But when NavigationView is integrated, it needs to know the navigation graph in advance. But in advanced

Gradient status bar with BottomNavigationView

[亡魂溺海] 提交于 2020-01-10 05:24:06
问题 In my Application I want to show gradient status bar. Also i have used BottomNavigationView . So issue is when i am doing status bar gradient the bottom navigation bar of android overlaps the BottomNavigationView . I have tried below solutions : how to set status bar background as gradient color or a drawable in android Google Now gradient/shadow on status bar & navigation bar How to apply gradient to status bar in android? How to remove button bar at the bottom screen My code is as below : -