bauerca / drag-sort-listview

Android ListView with drag and drop reordering.
3.2k stars 1.44k forks source link

FloatView problem on Holo Theming #84

Closed devisnik closed 11 years ago

devisnik commented 11 years ago

I've set the Launcher App theme to Holo.Light, using minSDKVersion=11. When dragging, the float view is messed up. This is on my Galaxy Nexus, running Android 4.2.2.

dslv_on_holo_light-2013-03-14-180757

bauerca commented 11 years ago

The problem is the background color of the floating View, which is not aware of any theme and defaults to black. See float_background_color here: https://github.com/bauerca/drag-sort-listview#xml-attributes. Just set that xml attr to whatever you need for now. Thanks.

devisnik commented 11 years ago

Ah, great, works like a charm now. Thanks. I wonder why the background color is fine by default when using Theme.Light though.

jmmcreynolds commented 11 years ago

Perfect! I ran into this the other day and thought it was something I was doing, but hadn't really looked into it. Now I don't have to try to figure it out. :)