I’am developing an app which requires drawing the user signature. On click of a button, i need to show context menu where the user can select line thickness to draw. Can anyone help me to create context menu with different line thicknesses. i.e I want a line with heighest thickness as a first item of context menu and line with lowest thickness as last item of context menu. Please help me.
Share
You can show AlertDialog instead of context menu for choosing line thickness on button click.
For eg.