Android Question [SOLVED] - B4XDrawer - Shadow on the right side of the sliding drawer

rleiman

Well-Known Member
Licensed User
Longtime User
Greetings,

I was looking at the properties of the B4XDrawer and wanted to add a shadow on the right edge of the drawer like in this photo I attached, but didn't see any shadow property. Do you know how he got it to look like that? The sample project that comes with this library doesn't have the shadow applied to the sliding drawer.

It's a really nice library.

Maybe someone has the sample B4A project that belongs to this photo because I would also like to see what library was used for the year and month "wheel" views.

Thanks.

 

Peter Simpson

Expert
Licensed User
Longtime User
Greetings,
I was looking at the properties of the B4XDrawer and wanted to add a shadow on the right edge of the drawer like in this photo I attached, but didn't see any shadow property.

In Android (B4A) the drawer does in fact have a shadow, it's just that it's not as pronounced as in iOS (B4i).

Enjoy...
 
Upvote 0

rleiman

Well-Known Member
Licensed User
Longtime User
Thanks for the coding. It didn't seem to make much difference to make it look like your ios screenshot, but after looking at the same type of material drawer on the Google Play app, I noticed it looked the same without the raised shadow so I'm marking this post as solved.

The best part about your reply is that I learned a handy technique on accessing all of the properties found in the designer of the panel like width etc that I can now change in code as needed.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…