Ask A Question

Notifications

You’re not receiving notifications from this thread.

Converting a regular coordinate system to the dimensions of an Android View

soumyarani asked in Javascript

I am trying to convert a regular coordinate system to a default android view

After understanding the android view coordinates came to know that the gesture value of the coordinate is (0,0) at the top left so is there any possible way to plot like a normal graph where the value must be between -1 to 1 like the graph with the center of the screen as (0,0).

This is the default android coordinates

Reply

Quite complicated compared to my current knowledge. Hope you will find the answer soon. lolbeans.

Reply

Nice

Reply

This is the default android coordinates

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.