Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

movable table in android

 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I know how to write table in android.But i need to show a table which can move the table cells in touch screen.user should be able to move table cells using touch screen.can we do this in android?
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have no idea what "move table cells" means.
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
there are colums and rows.Please check below example.

A B C D E
F G H I J
K L M N O

Above table have three rows and four columns.If user needs to move the value of A(1,1) to O(4,3),it should be done using touch screen.without do any hard work.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds like you would use a GridLayout, and then detect in which cell there was a touch down event, and in which cell there was a touch release event.
 
sam liya
Ranch Hand
Posts: 1243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks ULF.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic