[android-developers] Re: Make a button from an image (PNG)

2009-03-10 Thread xspotlivin
Can you layer different views and/or layouts on top of each other? I thought maybe I could use a ViewGroup with an absolute layout for the buttons and my custom ClockView. Can you put the absolute layout with a transparent background on top of the ClockView? On Mar 9, 11:14 pm, xspotlivin wrote:

[android-developers] Re: Make a button from an image (PNG)

2009-03-10 Thread dan raaka
Can you use something like public class ClockView extends AnalogClock { /* Here override the functions .. */ } http://d.android.com/reference/android/widget/AnalogClock.html Source can be found under frameworks/base/core/java/android/widget/AnalogClock.java -Dan On Mon, Mar 9, 2009 at 8:14 PM

[android-developers] Re: Make a button from an image (PNG)

2009-03-09 Thread xspotlivin
Ok, thanks for the replies. I'm going to describe what I'm trying to do better, because I'm still unsure of the solution, and I could really use some help. I have a clock application (how can you attache an image). For each shaded region I want to place a button on top of it (a different button d

[android-developers] Re: Make a button from an image (PNG)

2009-03-08 Thread Anonymous Anonymous
Something like this? http://schemas.android.com/apk/res/android"; android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent"> On Mon, Mar 9, 2009 at 9:33 AM, xspotlivin wrote: > > I'd like to know how to make a button out of a PNG