• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps I want to improve my Gui, but...

Rick Ames

Dec 13, 2009
I have been working on this program for a project in school. Now, this can be turned in as if and I'll get full credit. But I want to go beyond that and make the GUI look better. I currently have a program that you can play a game of blackjack against the computer. However, instead of cards I just have text.

I would like to know what would be the best way to replace the text with card drawables. I'm thinking that most of this will have to be in the code rather than the .xml files.

What I want is to generate a new image and put it inside the correct row every time the for loop inside of the showPH() (show player's hand) or showDH() (show dealer's hand) method is called. But, I do not really understand the methods in ImageView or Drawable that could help me with this.

My code can be found at this link:
Blackjack.zip - FileSmelt File and Image Hosting

Thank you,


We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.