Sandman Expert Licensed User Longtime User Oct 2, 2018 #1 There is a nice example of a very simple navigation drawer here: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/#post-505911 However, it doesn't behave like a Material drawer. I have noticed two differences: It pushes away the page beneath It doesn't darken the page beneath This is what it looks like with the linked example: And this is what it looks like in Gmail (as an example): Please note that I'm not talking about the actual contents of the drawer. Just how it behaves and interacts with its surroundings. I was unable to find a way to make this drawer behave more like a Material drawer. Does anyone have a suggestion on how to do that? (I am aware that there are several Material Drawers in the forum, but this question is just for this specific drawer, so no need to recommend changing to something else.) Attachments upload_2018-10-2_8-51-6.png 184.1 KB · Views: 585 Last edited: Oct 2, 2018
There is a nice example of a very simple navigation drawer here: https://www.b4x.com/android/forum/threads/appcompat-with-toolbar-minimal-example.79896/#post-505911 However, it doesn't behave like a Material drawer. I have noticed two differences: It pushes away the page beneath It doesn't darken the page beneath This is what it looks like with the linked example: And this is what it looks like in Gmail (as an example): Please note that I'm not talking about the actual contents of the drawer. Just how it behaves and interacts with its surroundings. I was unable to find a way to make this drawer behave more like a Material drawer. Does anyone have a suggestion on how to do that? (I am aware that there are several Material Drawers in the forum, but this question is just for this specific drawer, so no need to recommend changing to something else.)
Peter Simpson Expert Licensed User Longtime User Oct 2, 2018 #2 Sandman said: I was unable to find a way to fix this, does anyone have a suggestion? Click to expand... Hey really Sandman? You make it sound like that's a big using the word 'fix', it's like that by design. There is an issue with it but it's got nothing to do with its look and feel. Suggestions: You've already mentioned material drawer. Upvote 0
Sandman said: I was unable to find a way to fix this, does anyone have a suggestion? Click to expand... Hey really Sandman? You make it sound like that's a big using the word 'fix', it's like that by design. There is an issue with it but it's got nothing to do with its look and feel. Suggestions: You've already mentioned material drawer.
Sandman Expert Licensed User Longtime User Oct 2, 2018 #3 Peter Simpson said: You make it sound like that's a big using the word 'fix', it's like that by design. Click to expand... Hi Peter. I, as most people in this forum, don't have English as our mother tongue, and sometimes things are a little off because nuances. I wasn't meaning to imply there was a bug, but I've edited my post to clarify so you can better understand what I meant. Upvote 0
Peter Simpson said: You make it sound like that's a big using the word 'fix', it's like that by design. Click to expand... Hi Peter. I, as most people in this forum, don't have English as our mother tongue, and sometimes things are a little off because nuances. I wasn't meaning to imply there was a bug, but I've edited my post to clarify so you can better understand what I meant.
Peter Simpson Expert Licensed User Longtime User Oct 2, 2018 #4 Anyway @Sandman, the answer is that you can't change the behaviour in that particular library, the sliding menu comes as is. Maybe this is a good alternative for your app. https://www.b4x.com/android/forum/threads/materialdrawer-v0-9-mike-penz.74410/ Last edited: Oct 2, 2018 Upvote 0
Anyway @Sandman, the answer is that you can't change the behaviour in that particular library, the sliding menu comes as is. Maybe this is a good alternative for your app. https://www.b4x.com/android/forum/threads/materialdrawer-v0-9-mike-penz.74410/
Erel B4X founder Staff member Licensed User Longtime User Oct 2, 2018 #5 B4A solution: https://www.b4x.com/android/forum/threads/class-b4adrawer-sliding-drawer.97828/ Upvote 0
Sandman Expert Licensed User Longtime User Oct 2, 2018 #6 Erel said: B4A solution: https://www.b4x.com/android/forum/threads/class-b4adrawer-sliding-drawer.97828/ Click to expand... I'm speechless. I am without speech. That is absolutely amazing, Erel. Thank you so much Upvote 0
Erel said: B4A solution: https://www.b4x.com/android/forum/threads/class-b4adrawer-sliding-drawer.97828/ Click to expand... I'm speechless. I am without speech. That is absolutely amazing, Erel. Thank you so much