I would like to specify that I want FEATURE_INDETERMINATE_PROGRESS for my Activity.
It can be done in android manifest or I must do it in the code?
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 case, I believe that you have to do it in code like this:
I am not to familiar about doing this in the Manifest because you are requesting this from Window. However, you can do other things in your manifest like setting the style and theme of your activity.
Also, remember to add that line before
setContentView(R.layout.main);because the features being requested must be completed before the activities views are set.