Android Question Long shot

DPaul

Active Member
Licensed User
Longtime User
Hi,

Has anybody ever seen a button (= b4a view) that is not square or rectangular.
In particular i'm looking for triangles and anything with 4 corners, not being one of the above?

(Yes, i can draw shapes on a panel and find out the click coordinates, that's what i'm trying to avoid)


Paul
 

DPaul

Active Member
Licensed User
Longtime User
Thank you for your reply, but that is the classic solution that i know already, and would like to avoid.
Why aren't there triangular (or customisable!) buttons? Makes sense, would economize space, and look good !
Really!

Buttons are discrete, binary, you pushed it or you did not.
Drawn, view-like shapes on a canvas, sometimes are a problem when touches become swipes and/or cross the lines.
Not to speak of the extra coding :-(

PS. I typed this simultaneously with Erels post. Have to think now about that.

Paul
 
Upvote 0

DPaul

Active Member
Licensed User
Longtime User
Solved (for me).
Create a panel , load it with bitmaps() as app resquests,
put transparent views on top that receive the clicks.
Minimum coding, maximum effect.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…