I want to draw a button in an android application at a specific point say (x,y), the point will be generated at runtime.
So how can I achieve it.
I want to draw a button in an android application at a specific point
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.
For that you can use
AbsoluteLayoutwhich can help you in setting the exact position of the view by the property of the viewandroid:layout_xandandroid:layout_yUPDATE
To add x, y on Runtime check these,
Answer 1
Answer 2