Save 36% for Black Friday! Learn more

New Discussion

Notifications

You’re not receiving notifications from this thread.

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

3
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

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

Nice

This is the default android coordinates

Join the discussion
Create an account Log in