Android Question Activity Touch X and Y Questions

Stichler

Active Member
Licensed User
Hello,

1. With different screens having different resolutions am I correct in assuming that the X and Y would be different in total number for each device?
2. What would dead center be on any screen? X and Y?
3. -X moves left Is -Y up?

Thanks you!
 

klaus

Expert
Licensed User
Longtime User
1. Yes.
2. Sorry, but I don't understand the question.
2. X move horizontally, left and right, between 0 and 100%x for an Activity, and 0 to Panel.Width if it's a Panlel
3. Same vertically, down and up, for Y.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…