I’m drawing a rectangle and I’m trying to figure out the maximum dimensions of the display I’m using without trial and error. I know the top left corner is (0,0), but is there a method that retrieves the outer edge coordinates?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In your activity you can call:
This will give you the maximum dimensions of the current display.