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. Two applications sharing android:sharedUserID

This will be fixed in Donut.  Unfortunately I don't know of any work-around
short of re-installing the app (note that this -doesn't- requiring
uninstalling, just performing an install on top of the existing app).






-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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

2. Creating a client application of my library in Eclipse

MyJavaLibrary was created based on development/sample/PlatformLibrary
example. Library is builded using platform build system. Is it
possible to create a client application in Eclipse using SDK? Is there
any way to include library into SDK and link it from  client
application which is builded and debugged in Eclipse?

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. intent filter to know when user change the volume

4. How to extract contents of *.img (boot/recovery/system/userdata) for adp1 on host

5. "Android app revenues averaged $62.39 per day....very difficult to buy the summer home at this rate"

6. "Android app revenues averaged $62.39 per day....very difficult to buy the summer home at this rate"

7. Debugging on Samsung Galaxy