Flexible android layout for multiple screen sizes/densities?

I'm new to android myself, so don't take my word for it, but, I think you should aim at one layout for all screen sizes, and I think relativelayout would be the best way to go (in most cases), especially with something as complex as a card game. I've mainly used linearlayouts inside relativelayouts when I've wanted to align buttons/text horizontally, but I think all of my outer layouts always have been relativelayouts. But once again, don't take my word for this being the best way to do things.It's just what I've heard/tried Also, there are a lot to read more to read about all of this on developer.android.com.

Perhaps: http://developer.android.com/resources/samples/MultiResolution/index. Html if you want to optimize for different resolutions.

I'm new to android myself, so don't take my word for it, but, I think you should aim at one layout for all screen sizes, and I think relativelayout would be the best way to go (in most cases), especially with something as complex as a card game. I've mainly used linearlayouts inside relativelayouts when I've wanted to align buttons/text horizontally, but I think all of my outer layouts always have been relativelayouts. But once again, don't take my word for this being the best way to do things.It's just what I've heard/tried.

Also, there are a lot to read more to read about all of this on developer.android.com. Perhaps: http://developer.android.com/resources/samples/MultiResolution/index. Html if you want to optimize for different resolutions.

I am working on creating a card game for android. I am trying to come up with a layout that will allow the game to be played on all screen sizes and densities. However, I am still confused on the best way to do this.

For this game, I need the cards laid out in landscape mode, in 5 columns.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions