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
and TranslucentGLSurfaceView, but render result is blank screen.

Could someone give an advise to solve this problem?



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.



Sponsored Links

Other Threads

1. New to Android - Can't add Platform

I am running into errors while setting up my environment using Eclipse
Galileo. It appears to have loaded Eclipse and the SDK ok as I can see
the Android Icon in the About Eclipse and the Android SDK and AVD
Manager appear in the Window dropdown list.

But when trying to add platforms in Window->Preferences its says:
"Location of the Android SDK has not been setup in preferences".

I selected Android on the left and tried to add: "C:\Documents and
Settings\thomasji\My Documents\Android\android-sdk-windows"
but nothing is populated in the list of SDK targets when I click
apply. Nothing happens.

Please help.


2. SIGH ... Android & SOAP

This post is directed to those of you who may have been, are or will be
FORCED to deal with stone-age SOAP w/s and Android.

What has been the best way to consume these 7-layered nightmares?
Is there any native (non 3rd-party) support in Android?
Library recommendations (which to embrace, which to drop-it-like-its-hot,



3. Contact Organization in Emulator different than Phone

4. PSC (primary scrambling code) of connected cell?

5. Web service access

6. Multiplatform native mobile access for enterprise - anyone interested ?

7. Monkey Testing and automatically generating the events...