I'm currently making an android application for the game battleship. I have made model classes for my ships in the form of a viewgroup with multiple textviews in this viewgroup (4 for battleship, 2 for submarine and so on)
My field consists of a TableLayout with multiple (10x10) textviews with a background of water.
I am now trying to implement a drag and drop where this viewgroup could be dropped into multiple textviews, currently only the textview my mouse is on contains the viewgroup (or at least it takes the same background as the viewgroup i'm dropping)
Is there any way to drop my viewgroup, or something else where i can insert multiple textviews or other type of views, into multiple views on my field
update: my fields are now relativelayouts so my ship is actually being put on them rather than the background being recoloured, but if i put my ship, which is 4 times the size of one of the fields on my board, it just puts it on one field and moves the rest of the fields 3 places to the right (so let's say the view of my ship is 40px and my field is 10px, the first 10px of my ship is locked on a relativelayout (or field) and the other 30px of my ship is pushing the field apart, so there is a 30px black space between the column where i put my ship and where the next column is)
EDIT: I'm currently developping on android api level 14 if this helps in any way