Android Question Create panel looklike attachment

devmobile

Active Member
Licensed User
i need add panel with black color background and add other panel in this panel that i need see part of panel looklike attachment panel
I want to make guide for each view with this option
I’m sorry for obfuscating question
 

Attachments

  • 614C6298-B64E-44F6-8478-EEF65EA8F948.jpeg
    614C6298-B64E-44F6-8478-EEF65EA8F948.jpeg
    10.5 KB · Views: 173

udg

Expert
Licensed User
Longtime User
IMHO, it looks like a "selector", where the 100% transparent rectangle shows the portion of the underlying image that will be selected while the dimmed part indicates what will be discarded.
If so, before my first coffee, I can think of two alternatives: a resizeble and movable rectangle (starting from the image center and given dimensions) or a capturing area defined by moving your fingers on the image (and eventually approximated to a rectangle).
 
Upvote 0

devmobile

Active Member
Licensed User
IMHO, it looks like a "selector", where the 100% transparent rectangle shows the portion of the underlying image that will be selected while the dimmed part indicates what will be discarded.
If so, before my first coffee, I can think of two alternatives: a resizeble and movable rectangle (starting from the image center and given dimensions) or a capturing area defined by moving your fingers on the image (and eventually approximated to a rectangle).
I found it
I use canvas and draw circle on imageview with gray overlay with opacity 50
I attach it for all user
 

Attachments

  • test.zip
    31.7 KB · Views: 127
  • Like
Reactions: udg
Upvote 0
Top