How can I use transparent or translucent view effect?

by PcALeX » Mon, 04 May 2009 05:57:30 GMT


Sponsored Links
 Hi guys,
I am a newbie in android UI programming.
I want to create a custom SurfaceView for my own renderer.
And this view has a transparent/translucent effect with background.
I follow api demo sample code to create
TranslucentGLSurfaceViewActivity
and TranslucentGLSurfaceView, but render result is blank screen.

Could someone give an advise to solve this problem?

PcALeX

--~--~---------~--~----~------------~-------~--~----~



How can I use transparent or translucent view effect?

by PcALeX » Mon, 04 May 2009 11:07:13 GMT


 Thank you for your answer Raphael.
Yes, it is.
I do my test and experiment on 1.5 emulator.
That's mean if I want to see transparent/translucent effect,
I need to run my test application on G1?
Is there any other way to test our SurfaceView with transparent
or translucent effect?
Thanks again.

Alex





--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Wifi and all the stuff i want

I've been giving it some thought and i have decided to put in a couple
of ideas based on what i want out of android.

a wifi scanner that would tell you the channels that all the signals
were broadcasting at so you could pick a empty channel.

a wifi connection so you could connect to the internet over the wifi
and have it free... if your not paying for the internet connection
already.

a antivirus/firewall so you don't get hacked.

voip with full features such as answering machine, call waiting, and
different ring tones.

an ethical bar code scanner that would tell you if the people that
made it were good or not and if it was grown in china or had a recall
or wasn't recyclable.

a tool for meditation and exercise.

super memo with college and university courses in it, and all sorts of
other things you would want to memorize.

a tool for recording medical visits, health info, showing directories
of medical clinics, mental health groups, AA groups, hospitals, both
naturopathic and pharmaceutical with options to add your own group and
reviews for everything(from doctors to psychiatrists to
veterinarians).

a tool to keep track of your time so you get the things you need to
get done first.

a different amount of ring tone repetitions then vibrations.

a nutritional facts calculator.

a scientific calculator.

traditional medicines and naturopathic information databases included
eft, acupuncture, herbology, karma sutra, ect ect.

religious texts from Buddha to Christ to the Qur'an.

the cooking software to include stuff like hemp and quinoa and an
option to insert your own recipes.


--~--~---------~--~----~------------~-------~--~----~

2. Network Connection while the phone is ringing

Does Andorid has any restriction on making a network connection during
a incoming call. I know in J2ME there are restrictions like this.

Basically, could a custome software take a control of a incoming call
and based on user preferences on the network, could it do some just in
time history loggin etc, before the user picks up the call etc.

Regards,
Raja Nagendra Kuamr,
C.T.O
www.tejasoft.com
--~--~---------~--~----~------------~-------~--~----~

3. Is Anyone else using App Engine as part of their Android App?

4. android in cell

5. Working on another Android story

6. Annotations and reflection

7. Android Map Exception