Drawing on Canvas below inflated layout - android

I have a camera surface view screen on which I am drawing some markers. I have a Navigation drawer also on this screen. So my problem is that the markers are drawn above the navigation drawer instead of showing under the navigation drawer. The side menu is shown by inflating a layout. So how to achieve this?

Related

AppBar with Fragments and Bottom Navigation Bar

Not sure if I'm fighting an uphill battle but I'm currently struggling with AppBar, Fragments and Bottom Navigation Bars.
I have a MainActivity that's a list view with an AppBar. It's created as a fragment with the intention to add another bottom navigation bar here in the future.
For now, when an item in the list is clicked it navigates to a detail view fragment. Here I still have the AppBar which is what I want however I would like to add a Bottom Navigation Bar. However when I navigate to the next fragment I lose my bottom navigation bar.
Is there a way to keep maintain Bottom Navigation Bars within Fragments? I tried breaking them out into activities but discovered then I lose my AppBar.
Is what I'm doing above feasible in Android?
Ideally I'd like this:
Do you have different nav graphs for different fragments? You need to have the detail view fragment in the same nav graph as the bottom navigation view. You don't need to have another item in bottom navigation but declare fragments that you want with bottom navigation in the same nav graph.

How to implement custom bubble bottom navigation animation

I have tried this library - https://github.com/gauravk95/bubble-navigation
I don't think this can be achieved by transition drawable as the previous tab is selected during the transition. Only the current tab can be animated using the TransitionDrawable.
Also, the corner tabs have different background animation.
Link to animation

How to make navigation drawer only closable from border

I have a list view in my navigation and while I am scrolling down or up my list view I accidentally close drawer too. I don't want my users to face that issue. How can I make drawer only closable from border like it opens only from border?

fragment of sliding pane layout is transparent for clicking

I'm using sliding pane layout in my project. When it was in its closed state i tried to click on an empty space of my fragment's layout, but the click was performed on another fragment (which should be shown only when sliding pane layout is in open state), like it's on the top of the screen. It looks like empty RelativeLayout's space is transparent for clicking. Is there a bug or am I doing wrong something?

how to slide frameLayout using sliding menu

I have work on sliding menu. I have some problem of this sliding menu.
This is 3 frame layout. and i have Require slide center frame layout like this.
This is my second layout. how can i make this second layout?
Issue is: I have required second screen but in the second layout all frame are slide in right side. My requirement is only second frame move right side.

Categories

Resources