Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tap Border Helper #5

Open
jsuarezruiz opened this issue May 11, 2019 · 1 comment
Open

Tap Border Helper #5

jsuarezruiz opened this issue May 11, 2019 · 1 comment

Comments

@jsuarezruiz
Copy link
Contributor

The idea is similar to the actual now, draw the border (or background) of a control with a color to see exactly its position and size. The difference is that, instead of drawing all, we are only going to draw that control over a special tap is made (Example: triple tap).

@sthewissen
Copy link
Owner

I'm still kind of working out what the best idea would be to implement this. Adding TapGestureRecognizer to every single element seems like a terrible idea. However, adding one TapGestureRecognizer and getting its coordinates isn't possible out of the box. It would allow us to traverse the visual tree to find the element based on coordinates though.

Another, completely different option, would be to e.g. shake the device and then make a crosshair appear that you can drag and drop around the screen. This also has some buttons floating along with it that let you do different things like e.g. highlight the item underneath the crosshair, show its properties and other stuff we could think of. Sort of like an in-app inspect element in XamForms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants