BoomMenu
BoomMenu copied to clipboard
The buttons aren't correctly shown on landscape mode
Hey guys,
When I use boom and want to change the orientation to landscape, I see that not all the buttons are shown.
I tried to look into the layout folder but didn't manage to make all of them show.
Can you please suggest a solution for this little bug ?
Thank you !
P.S I use the circle buttons, not the ham.
Does "Aren't Correctly shown" means that sub-buttons are on incorrect positions? Could you post some images for this bug? Thanks~
https://www.dropbox.com/sh/q89zbrl76go4j36/AAAW2Jd5CP7QBdXnfpkTc47ya?dl=0
Check here on portrait and on landscape. I test on Samsung Galaxy S5, Android 6.0 and the entire screen is a RelativeLayout.
I tried to position the buttons on the center of the screen with the built in attribute but it didn't work.
Em..I see. This bug happens because sub-buttons lay on a gray background view. I suggest to detect the "portrait/landscape changed" event and try to reboom BMB if it has boomed.
`@Override
public void onConfigurationChanged(Configuration newConfig) {
if (bmb.isBoomed()){
bmb.reboom();
}
super.onConfigurationChanged(newConfig);
}`
Same bug...am I doing something wrong ?
@stefanionescu, any solution?
BackgroundView has method reLayout
. I think we can call him when configuration is changed.
@stefanionescu Have you found a solution for that?