stanmiller Active Member Licensed User Longtime User Mar 16, 2017 #1 I'm using a bottom modal to display a "cookie" notice. B4X: myBottomModal.Initialize(page, "bottomsheet", Not(FIXED_FOOTER), ABM.MODALSHEET_TYPE_BOTTOM, "") myBottomModal.Content.UseTheme(ABMShared.THEME_COOKIE_FOOT) myBottomModal.Footer.UseTheme(ABMShared.THEME_COOKIE_FOOT) myBottomModal.IsDismissible = False Is there a way to disable the shading of the page in the background? I like that the user can still scroll through the page content while the modal is visible, but have the page in the standard luminosity. Last edited: Mar 16, 2017
I'm using a bottom modal to display a "cookie" notice. B4X: myBottomModal.Initialize(page, "bottomsheet", Not(FIXED_FOOTER), ABM.MODALSHEET_TYPE_BOTTOM, "") myBottomModal.Content.UseTheme(ABMShared.THEME_COOKIE_FOOT) myBottomModal.Footer.UseTheme(ABMShared.THEME_COOKIE_FOOT) myBottomModal.IsDismissible = False Is there a way to disable the shading of the page in the background? I like that the user can still scroll through the page content while the modal is visible, but have the page in the standard luminosity.
alwaysbusy Expert Licensed User Longtime User Mar 16, 2017 #2 No this is not possible. It is by definition a modal sheet, so only this is accessible. Maybe you can use a FloatingContainer? You would need to use FLOATING_FROMBOTTOM and set the height of the container. see https://www.b4x.com/android/forum/threads/abmaterial-how-to-create-a-fixed-header.72830/ Upvote 0
No this is not possible. It is by definition a modal sheet, so only this is accessible. Maybe you can use a FloatingContainer? You would need to use FLOATING_FROMBOTTOM and set the height of the container. see https://www.b4x.com/android/forum/threads/abmaterial-how-to-create-a-fixed-header.72830/
stanmiller Active Member Licensed User Longtime User Mar 16, 2017 #3 alwaysbusy said: No this is not possible. It is by definition a modal sheet, so only this is accessible. Maybe you can use a FloatingContainer? You would need to use FLOATING_FROMBOTTOM and set the height of the container. see https://www.b4x.com/android/forum/threads/abmaterial-how-to-create-a-fixed-header.72830/ Click to expand... Thanks! I'll try that. Last edited: Mar 17, 2017 Upvote 0
alwaysbusy said: No this is not possible. It is by definition a modal sheet, so only this is accessible. Maybe you can use a FloatingContainer? You would need to use FLOATING_FROMBOTTOM and set the height of the container. see https://www.b4x.com/android/forum/threads/abmaterial-how-to-create-a-fixed-header.72830/ Click to expand... Thanks! I'll try that.
stanmiller Active Member Licensed User Longtime User Mar 17, 2017 #4 Floating container worked! Cheers. Last edited: Mar 17, 2017 Upvote 0