[android-developers] Re: Designing a UI for Board Game

2010-01-06 Thread piyushn
you can use DroidDraw tool for gui Design . Check it out @ www.droiddraw.org . thanks;-) On Jan 5, 11:11 am, prakhy prakhyathhe...@gmail.com wrote: Hi, I need to design a board UI using android platform. i was planning to take one image as board and moving the required images over the

Re: [android-developers] Re: Designing a UI for Board Game

2010-01-06 Thread Donal Rafferty
You might find the Heirachy viewer some use as well, you can find in in the SDK package in the toold folder. Also in his book Android wireless application development Shane Condor describes how to draw a chessboard as well as working with bitmaps and other bits and pieces you might find useful,

[android-developers] Re: Designing a UI for Board Game

2010-01-05 Thread Lance Nanek
One way to do it is to have the game pieces be Drawable instances. Those can be positioned using the setBounds method: http://developer.android.com/intl/zh-TW/reference/android/graphics/drawable/Drawable.html#setBounds%28android.graphics.Rect%29 And drawn to a Canvas using the draw method: