Change button style

by Abhi » Tue, 15 Dec 2009 23:22:25 GMT


Sponsored Links
 Hello,

I want to put a triangular shaped button in my app. I have the button
image (.png) but don't know how to use this as my button. I don't want
to use an ImageButton as I don't want to have a rectangular box behind
this image.

Can anyone help?

Thanks,

Abhishek

--



Change button style

by TreKing » Tue, 15 Dec 2009 23:40:31 GMT


 Then just use an ImageView.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking 





>


Sponsored Links


Other Threads

1. integrate the H/W decoder into stagefright

hi,

I have quickly looked Stagefright source in Gingerbread. It seems that
Stagefright uses codecs in either OMXCodec or OMX plugins.

I have a H/W AVC decoder derived from OmxComponentVideo and registered in
pv_omxcore.cpp in Froyo OpenCORE. What is the best/quick way to integrate
the decoder into Gingerbread Stagefright?

Thanks.

-- 

2. why samsung and qcom do not implement audio omx section in /hardware

hi group,
    i'm working on  implementation of vendor omx  section in froyo, and make
it run together with stagefright.
i notice that in android_root/hardware/qcom/media folder there are qcom's
implementations.
 also i checked out samsung's omx code (from git://
github.com/codeworkx/android_device_samsung_galaxys.git), in which there is
also no audio omx component section.

i wonder why they(samsung and qcom) do not implement the audio omx section,
however, they have video omx's implementation.
here is my guess:
1. they do not implement audio decoder, but only using the audio decoder
originally in Android
2. they implement their own audio codec as the same way of Android's audio
codec, then substitute them,
3. they have other implementations of decoding audio that we do not know

can anyone give me some ideas? and what is your strategy of audio decoder,
omx way or using android's internal audio decoder


ps:
   also, i have review the code of ti in android_root/hardware/ti/omp3, they
do have audio decoders such as aac, mp3, wma etc,
from normal logical, we should implement video and audio omx component
together, so we can play movie in full omx way.

my question is: why qcom and samsung do not implement audio omx but only
video omx component? and what audio decoder do they use when playing movie?

-- 

3. Pilih Mana? Android Atau iPhone? (via gopego.com)

4. reset market license

5. Confusion over MediaPlayer Framework on GingerBread and Apple's HTTP Live Streaming Support

6. Considered SOLDFw: Wts droid 2 mind condition

7. Waiting for debugger force close (when USB is not attached)