deano2390 / MaterialShowcaseView

A Material Design themed ShowcaseView for Android
Apache License 2.0
2.72k stars 526 forks source link

BottomNavigationView is upper the MaterialShowCaseView on some androids #137

Open buutqn opened 7 years ago

buutqn commented 7 years ago

Google G Play 6.0.1 c384daad-3b55-4b2f-82e0-d54fa51651ed whatsapp image 2017-07-25 at 19 31 34 whatsapp image 2017-07-25 at 19 31 32

Android 6.0 (LGK10)

3f04ae23-4c5b-417f-b68a-40ee18cb17fa whatsapp image 2017-07-25 at 19 31 31 whatsapp image 2017-07-25 at 19 31 32

while in my android 6.0 5fae2e9a-1e96-4762-a8b6-d916c4d0e86d

To get the Itens of the BottomNavigationView i use the following method

BottomNavigationMenuView menuView = (BottomNavigationMenuView) bottomNavigationView.getChildAt(0);
mBottomMenuRemover = menuView.findViewById(R.id.mBottomMenuItemRemover);
mBottomMenuReiniciar = menuView.findViewById(R.id.mBottomMenuItemReiniciar);
HarrisonPace commented 5 years ago

This issue still exists in Android 9 Pie.

sachin-growfitter commented 4 years ago

Google G Play 6.0.1 c384daad-3b55-4b2f-82e0-d54fa51651ed whatsapp image 2017-07-25 at 19 31 34 whatsapp image 2017-07-25 at 19 31 32

Android 6.0 (LGK10)

3f04ae23-4c5b-417f-b68a-40ee18cb17fa whatsapp image 2017-07-25 at 19 31 31 whatsapp image 2017-07-25 at 19 31 32

while in my android 6.0 5fae2e9a-1e96-4762-a8b6-d916c4d0e86d

To get the Itens of the BottomNavigationView i use the following method

BottomNavigationMenuView menuView = (BottomNavigationMenuView) bottomNavigationView.getChildAt(0);
mBottomMenuRemover = menuView.findViewById(R.id.mBottomMenuItemRemover);
mBottomMenuReiniciar = menuView.findViewById(R.id.mBottomMenuItemReiniciar);

Add renderOverNavigationBar attribute, which renders the showcase over the nav bar.