I saw in the Android documents there is a setAlpha API Level 1.I have a View that I try to use setAlpha(float) on the view, but the compiler says no such method exists. Am I missing something?
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.
As far as I can see, http://developer.android.com/reference/android/view/View.html#setAlpha(float) is only supported from API level 11 (not 1).
If you want to use this, you’ll have to add to your Manifest something like