I have several process when i add my widget in home, how can i add a “loading image” while it’s not ready yet?
I saw that the Youtube widget had this.
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.
I made it! =)
I don’t know if this is the best approach, let me show to you:
On my widget xml, i added a second Layout, that hold the Progress Bar:
I’ve put on my original layout the following code:
Then, when all my process is over, i did this:
If someone have a better way, please, let us know!