Android Question About AS Draggable Bottom Card

vfafou

Well-Known Member
Licensed User
Longtime User
Hello!
The AS Draggable Bottom Card class
fits my needs for a new project
I have only one question:
How could I make a layout like the attached picture from Alexander Stolte's post?
My main question is about the drag-dash at the top of the layout! How can I draw it? And how to make the upper angles rounded?
Thank you in advance!
 

Attachments

  • ezgif.com-resize.gif
    ezgif.com-resize.gif
    208.9 KB · Views: 223

Alexander Stolte

Expert
Licensed User
Longtime User
Oh, i didn't see this thread.

drag-dash at the top of the layout
is a normal panel with rounded corners.

And how to make the upper angles rounded?
I used a trick:
1601027316952.png

  • xpnl_header_background corner radius = 15
  • Panel2 = corner radius = 0 and same color as the background

You need to load the layout file to the HeaderPanel:
B4X:
asdbc.HeaderPanel.LoadLayout("frm_bottomcard_header")
 
Upvote 0
Top