design - Achieve Play-cards like layout of controls in Android (Prototype image attached) -
i'm working on board game based on playing cards, , following prototype i'm supposed achieve in game.
as can see 13 cards stacked, each of card clickable , respond tap event. idea there empty 13 containers arranged in above manner , when cards dealt, these containers show cards player has received. needs dynamic. restriction i don't have game engine used , based on standard android widgets.
so question is, can achieve above layout in prototype image?
so question is, can achieve above layout in prototype image?
yes.
how can achieved figure out. here hints:
- it best create view hierarchy programatically rather in xml file maximum compatibility different screen sizes
- take @
framelayout
,relativelayout
- margins can take negative values
Comments
Post a Comment