Android :: Transparent Canvas

Apr 4, 2009

I'm trying to make an app that requires me to draw over a layout with buttons, etc. I want to build a transparent canvas over the current layout and draw onto that canvas. How is this done?

Android :: Transparent Canvas

Android :: Canvas Drawline With Semi Transparent Lines Overlap?

Aug 26, 2010

I am drawing several lines on a canvas using drawline, the lines are semi transparent (their paint has an alpha value <255) only problem is that the point at which they cross creates a dot of less transparent color (obviously) is there a simple way to avoid this?

View 1 Replies View Related

Android :: Laying Out Buttons With Transparent Backgrounds On Linear Layout With Non-transparent Background

Aug 19, 2009

seems pretty straightforward.


But doesn't work!

It scrunches the layout background as the background to each button, I want it to span all three buttons...

View 2 Replies View Related

Android :: Transparent Image Button - Can Be More Transparent

Jul 9, 2010

I have already found how can I do an ImageButton with Transparent background, but I would like to ask, how can I set the effective of it ?

How can I do it more transparent ?

My way as I do it: <gradient android:startColor="#aaffffff" android:endColor="#aaffffff" ...>

What should I write in to the color to be more transparent ?

View 3 Replies View Related

Android :: Reset Canvas - Draw A New Bitmap Into The Canvas

Jul 7, 2010

My loadMap() method generate a canvas.throwIfRecycled exception when i try to load a new map.
When i start the game, the initial map loads and work fine though,
its only when i try to load a new map that i get the exception ..

How can i "reset" canvas and the bitmap i use to draw into, so i can startover fresh with them ?
here's what i use to create and draw my maps:


So basicaly once i created and used picDest and canvas, i cannot figure how to reset it all for when i want to load a new map..

View 1 Replies View Related

Android :: Transparent Textures...

Feb 15, 2009

I am using opengl for drawing 3d stuff, but so far I've been unable to use transparent textures...

This is what I do...


View 2 Replies View Related

Android :: Set Panel Transparent

Jul 24, 2010

I have a class to make a transparent panel to overlay in any view of my application which I found the tutorial on the internet. The thing is.. it's not painting with transparency .. just gray... does it have to do with this element?

How can I change this values to make it be transparent?


View 4 Replies View Related

Android :: Transparent Button

Dec 31, 2009

How to make a button as transparent in android?...

View 5 Replies View Related

Android :: Transparent Application

Sep 22, 2009

I have an application that shows only a list of some images. But the previous application (like mainmenu/home screen) should be visible and my list will be transparent type. Please let me know how can I achieve this?

I have tried using and transparent color.

But everytime the below application is invisible.

View 2 Replies View Related

Android :: Transparent Background

Jun 24, 2010

How can i make the background 50% transparent? Let's say the background of an AbsoluteLayout so it's dark but you can still see through it?

View 1 Replies View Related

Android :: GestureColor As Transparent

Aug 5, 2010

I am implementing Gesture in my Activity in Android. Every time I am doing a Gesture, yellow line is being drawn on the screen. Kindly provide the code to set the GestureColor as transparent.

View 1 Replies View Related

Android :: Set GestureColor As Transparent?

Feb 5, 2010

I am detecting gestures on one of my activities - I am using it to navigate through photos. Every time I am doing a gesture, yellow line is being drawn on the screen. Is there any way to set GestureColor as transparent?

View 1 Replies View Related

Android :: Transparent Text Over Desktop

Mar 15, 2010

Is there any example or sample how the transparent text over desktop is achieved by the "devtools/Development settings/show running processes"?

I would like to write some text over the desktop like that one from a service if possible. The aplication will be for development purposes like the "show running processes" but with other data displayed ...

View 2 Replies View Related

Android :: GLSurfaceView Transparent Bg Within ViewGroup

May 12, 2010

I am able to get a GLSurfaceView to have a transparent background with:


when I set the Activity's window background to transparent and the GLSurfaceView is the contentView of the Activity.

But, let's say my GLSurfaceview is parented by a ViewGroup and I want GLSurfaceView bg to be transparent to see the Viewgroup's background - I am not able to do so with the code above. Is this a limitation or am I missing something?

View 2 Replies View Related

Android :: Transparent Text Field

Apr 25, 2010

Is there any way to create a transparent text field?

View 4 Replies View Related

Android :: Transparent Textures In OpenGL ES

Jun 21, 2010

I can't seem to get GLUtils.texImage2D to use my full RGBA (A=my alpha component).

I've tried doing setEGLConfigChooser(8, 8, 8, 8, 0, 0); getHolder().setFormat(PixelFormat.RGBA_8888);

I've tried converting the source image (.png in ARGB) to RGBA.. which works ok for the ordering of data before texImage2D, but when it draws, it draws yellow where it should be "transparent white"... which suggests it's diminishing the "B"(blue) component instead of the A(alpha) component. But the same thing happens when I just use the orignal ARGB data instead ("B" diminishes instead of "A", leaving yellow).

View 5 Replies View Related

Android :: SurfaceView Transparent Through Its Parent

Feb 11, 2009

I have a SurfaceView that is covering a portion of its parent, a RelativeLayout. I have a background image covering the full RelativeLayout area, and this is my Activity's main layout.

I would like to have the SurfaceView be transparent so that I can see through to the background image on its parent RelativeLayout. I have tried the approach shown in the API Demos example TranslucentGLSurfaceViewActivity, but this succeeds in making the transparency go all the way through my Activity to my desktop!

I'm using the "style/Theme.Translucent" theme on my activity, and setting this on my SurfaceView: mySurfaceView.getHolder().setFormat(PixelFormat.RGBA_8888);

The transparency to the desktop it kinda cool, but not what I'm trying to do! Is it possible to make a SurfaceView transparent only through to its parent?

View 2 Replies View Related

Android :: Scaling Transparent Graphics In 2.0.1

Dec 13, 2009

I have some transparent graphics in my game. Up through 2.0.0 they have looked fined. Since Android 2.0.1 though, some parts of the fully transparent regions of the graphics are instead slightly opaque (e.g. a circular gradient that goes to 100% transparency will have a faint halo around it).

I have tried putting my graphics in ../raw/ but that did not help (as described at

I have also tried exporting the Adobe Illustrator graphics at 16-bit pngs (instead of 8bit), but that did not help either.

View 2 Replies View Related

Android :: Add Transparent Button To Screen

Feb 22, 2009

When I use android's camera, the buttons are transparent. Does anyone knows how to do that?

View 3 Replies View Related

Android :: Overlaying Transparent Gifs

Jan 9, 2010

I have an app that downloads several gifs and then needs to overlay them (not all centered at the same point), honoring the transparency of the images. I am currently planning to subclass ImageView. What is an efficient way to do the overlay/merge?

View 2 Replies View Related

Android :: List Of Transparent Widgets

Aug 4, 2010

I am compiling a list of all of the widgets that can be made fully transparent or nearly transparent.

Add any app that you know of...

Digital Clock Widget - Maize
Factory Widgets has several clocks
Minimalist Clock Widget - ZnevSoft
aniAgenda - aniFree

Task Lists - To Do Lists
Pure Calendar - Francois Deslandes
aniAgenda - aniFree

Calendar (Grid)
Pure Grid Calendar - Francois Deslandes
aniAgenda - aniFree

Agenda/Appointments List
Pure Calendar - Francois Deslandes

Settings Toggle/ Switches
GTWidget Base - Aethis
AM Skin: Transparent - Smart Android Apps, LLC
AM Skin: Transparent - Jonnybueno

Music Players

RSS/ News Feeds

Sweet Notes - Andre Diermann
Whiteboard - Matt M
StickyWidget - hiro.k

Phone Widget - Maplekey Company

Transparent Skin for Better Keyboard - Guillaume D.

View 19 Replies View Related

Android :: Transparent Texture In OpenGL ES

Mar 2, 2010

I'm trying to set the transparency of a texture on a quad in opengl, playing with the blend functions didn't help neither did anything on google.

View 2 Replies View Related

Android :: Transparent Sub-GLSurfaceView In Layout?

Mar 23, 2010

I'd like to display some 3d object on top of the normal 2d ui layout screen. The 2d ui screen has background image, and GLSurfaceView is child of the content layout. I tried the same technique of the Translucent GLSurfaceView in ApiDemos sample, but GLSurfaceView clears all and shows black background. Code...

View 2 Replies View Related

Android :: How To Create A Transparent Scrollbar

Jul 27, 2010

I have a transparent listview with a image as background. Now, i want the scrollbar as transparent too, i.e I must be able to see the background image through this scrollbar too.

View 2 Replies View Related

Android :: Make Some Part Of An Image Transparent?

Aug 28, 2009

I have a scenario at hand, for which I need a solution as soons as possible. Here is the problem statement: I need to show an image overlapped by some other image, 100%. The condition is that the picture in background should also be visible through the foreground picture but only through some part of the foreground picture. Please try to visualise how it should look like. There is a picture shown and in middle of it, there is a transparent area through which the background image is visible. I knew that I can make an image transparent and make the background image visible but here I want only some part of the foreground image to be transparent so that it looks like sort of picture frame applied to the background puicture. And for those who read the statement carefully would have understood that the ultimate thing desired is to have a picture frame applied to the picture. Can anyone please suggest a good way to do this.

View 2 Replies View Related

Android :: Make Image Opaque / Transparent?

Nov 30, 2009

I would like to place an image over a surface view. However I would like the image to be transparent so you can see the image and also the underlying surface view. Can anyone suggest how I could do this?

View 3 Replies View Related

Android :: How To Create A Transparent Activity Programmatically?

Jul 28, 2010

I want to launch an Activity with a webView as its content from current Activity. This new activity needs to be transparent and webview should be in the center. I looked around the web but only solutions I found were using style xmls. I want to do it using pure code i.e. no xml declarations. if anybody has come across this then please shed some light.

View 1 Replies View Related

Android :: Activity Should Be Transparent / But Has Black Background

Apr 22, 2010

My use case is writing an overlay controller activity for a landscape camera preview. I followed the instructions from a couple of tutorials for writing a transparent theme.When I start this activity from my root activity, the layout gets drawn correctly, but the background stays black. I tried to use @android:style/Theme.Translucent instead, but this Theme inherits the orientation from the calling activity (landscape) and thats not what I want.The application holding the camera preview is set to landscape view as it does not display the preview correctly in portrait orientation. (see old google bug report)What I wanted to do was to put an independent activity for user interaction interface in front of the camera surface holder (this activity should be set to 'portrait', or even better to 'sensor')

View 3 Replies View Related

HTC EVO 4G :: Transparent Lock Pattern - Invisible For Android

Jun 25, 2010

I was wondering if there was a transparent lock pattern for the evo. I found this : Invisible Lockscreen Pattern for Android but have no idea what to do with it or how to use it.

View 3 Replies View Related

Android :: How Can I Use Transparent Or Translucent View Effect?

May 1, 2009

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.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved