mitsusdev Member Licensed User Longtime User Aug 26, 2013 #1 I'd like to make an activity selection functions with a irregular picture. for example a human figure and some buttons on head or legs or arms. how can I make light of the various resolutions ?
I'd like to make an activity selection functions with a irregular picture. for example a human figure and some buttons on head or legs or arms. how can I make light of the various resolutions ?
Erel B4X founder Staff member Licensed User Longtime User Aug 26, 2013 #2 A simple solution which might work is to draw the image on the whole activity and then intercept Activity_Touch event. Check the color of the touched pixel and use this value to handle different spots. Upvote 0
A simple solution which might work is to draw the image on the whole activity and then intercept Activity_Touch event. Check the color of the touched pixel and use this value to handle different spots.