I am very new to programming for android, but have had 2 java classes so I have some experience. I am working ok creating an application where basically it just displays a picture, has a button below it and when you press it plays a sound clip. Very simple I'm sure. I could do most of this in the way I was taught, but not in android.
So i guess the first thing I need help with is displaying a picture. will i need to import anything? I have placed the picture in res/drawable-hdpi. I read on a tutorial that you need to place it in the drawable folder but all i have is drawable-hdpi/ldpi/mdpi. Do I have it in the correct place?
Also in messing around I was just trying to place a Textview and a button in the same window. They both work independently but when they are both there the button takes up the whole screen. IS there a way to size it and place it below the text view, or what I am hoping with be the image at some point?
I'm sorry if this was very unclear. Any help regarding this would be just awesome!
Thanks in advance,
Craig
So i guess the first thing I need help with is displaying a picture. will i need to import anything? I have placed the picture in res/drawable-hdpi. I read on a tutorial that you need to place it in the drawable folder but all i have is drawable-hdpi/ldpi/mdpi. Do I have it in the correct place?
Also in messing around I was just trying to place a Textview and a button in the same window. They both work independently but when they are both there the button takes up the whole screen. IS there a way to size it and place it below the text view, or what I am hoping with be the image at some point?
I'm sorry if this was very unclear. Any help regarding this would be just awesome!
Thanks in advance,
Craig