I would like to ask you if is possible to add a shadow to each item in a gallery. And if is possible, what is the easiest way to do it?
Thanks in advance!
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.
It depends on what type of view you are adding to the Gallery. For example, if it’s a TextView, you can use
android:shadowColor,android:shadowDx,android:shadowDy, andandroid:shadowRadiusto specify the shadow.If you provide your layout XML that you’re using in the Gallery adapter, and explain what you want the shadow to be attached to, it would help give a more clear answer.