1. Are you ready for the Galaxy S20? Here is everything we know so far!

I want to improve my Gui, but...

Discussion in 'Android Development' started by Rick Ames, Dec 13, 2009.

  1. Rick Ames

    Rick Ames Lurker
    Thread Starter

    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,

    1. Download the Forums for Android™ app!



Share This Page