I have a problem that would be easily solved if I could somehow inflate a view (this part is doable) but instead of letting android’s UI framework handle it, I would like to be able to explicitly draw it to a Canvas object. Is that possible?
Thanks
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.
To be able to draw directly on the canvas, you’ll have to extend the View to create your custom component. See http://developer.android.com/guide/topics/ui/custom-components.html