Skip to content Skip to sidebar Skip to footer

Possible Problematic Style Of Toolbar

This case is related to the following problem. In the case I believe it may be a problem with the style I'm trying to use the toolbar. I need you to stay in the Toolbar overlay, it

Solution 1:

I found the solution to my problem. It was a possible conflict in style but rather a problem of organizing the objects on the screen. With this following code could play the elements that disappeared in front of the camera.

getActivity().findViewById(R.id.DrawerLayout).bringToFront();
        getActivity().findViewById(R.id.DrawerLayout).invalidate();
        getActivity().findViewById(R.id.DrawerLayout).requestLayout();

In this case I have to get the reference of DrawerLayout and not the Toolbar. Thus the issue is resolved.

Post a Comment for "Possible Problematic Style Of Toolbar"