Thanks for all who r helping many android programmers like me...
Im new to anroid programming.
How to swap buttons in Grid View according to positon value.
I need to palce 15 buttons in 4*4 format. One cell will be empty.
when I click the button,above or below the empty cell that button has to occupy the empty positon.
Im using Absolute layout in Grid View.
Can u please suggest me which layout I need to use and how to place the buttons in a particular position with respect to view.
Please check the snap shot as attachment
Thanks in advance.........