Drag and Drop bitmap

I need some help, I am trying to drag and drop the bitmap by using getChildAt() but it doesnt work,