Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - use spinner default drop shadow

I've created my own android drop down list (spinner). Its custom made by using a popupWindow(...). Now i would like to style it accordingly. I'd like to apply the same styles that a spinner drop down has or even another kind of drop down. Im especially in need of shadow effects and drop shadows that show up after the native spinner is rendered.

Anyone know of a style i can apply to get this without building my own drop shadow which might not be identical to the native set ?

like image 835
j2emanue Avatar asked May 27 '14 02:05

j2emanue


1 Answers

found one that works the way i want. Seems it puts a drop shadow similar to an alert dialog:

android:background="@android:drawable/dialog_holo_light_frame"
like image 173
j2emanue Avatar answered Sep 27 '22 18:09

j2emanue