Android :: Make Overlaid Image Transparent On Touch In Droid?
Jun 11, 2010
Making the touched areas of bitmap image transparent(seems like erasing) while I am moving my finger on that image.
I am having a PNG file with Alpha channel in it. I want to turn the touched pixels to transparent so that, the user can feel that he is actually erasing it.
For this I am using frame layout to load 2 layers. Down layer is for content and upper layer is an Imageview for erasing. I need erase the upper layer when user touch and move his finger on it.
I am not getting how to make it transparent. can anyone please help me in this. If possible please direct me to any sample code, as I am very new to this image processing.
View 2 Replies
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
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
Nov 19, 2010
I have an image of a map. I want to draw lines over that image.I have successfully displayed both the line and the image. But , the line is not transparently appearing over the image. The image is only displayed when i run the program. But,if i change the coordinates of the line so that it doesn't overlap with the image,the line is getting displayed.
Pls tell me what i should do to make the line transparent so that both the image and the line are getting displayed.
View 2 Replies
View Related
Mar 9, 2010
I'm trying to make a GUI program with the Android SDK, using their Lunar Lander example as a significant self-teaching tool in the process. I've noticed their sprites' images' backgrounds, which were at least usually pure white, did not show up in their program. I want to ask how they did that, since their site doesn't explain simple things very well. I've managed to pull that off before on another GUI SDK, wherein all I had to do was to call a function and pass it a few floats to define a certain color, and until my code told it to do otherwise, that function would make sure that that particular color in my sprites' images was totally transparent. However I've wrestled with the Lunar Lander example and getting my own program to show some custom graphics for a week or two now, and I haven't noticed any such function call in the Lunar Lander example. I tried to look for it, but I did not find anything. I've tried to Google some tutorial or other reference material, but what I've found so far is just straying off into unrelated areas and totally dodging this EXTREMELY important lesson on the SDK's basics.
View 2 Replies
View Related
Mar 3, 2010
Is there a way to have an image overlaid over another image. For example, I have an instance where I have an imageview and I would like another imageview to take up the same space and appear over the first image. I don't know if there is a way of doing this. I tried putting the second imageview within the first imageview, but that's apparently not allowed in the layout xml files. So is there perhaps a way of doing it with a different layout, such as absolute or frame?
View 9 Replies
View Related
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
Sep 4, 2009
How to make the ListView transparent in android?
The background android screen image should be visible.
View 4 Replies
View Related
Jun 16, 2010
I'm currently running the adw launcher and I love it. I love the numerous customization options that it has. I was just wondering if there is a way in the settings to adjust the transparency of the status bar like it has for the app drawer. I currently have the 8.2 version of adw that I downloaded from the devs website and I can't figure out the settings to adjust the transparency of the status bar.
View 3 Replies
View Related
Jul 23, 2010
I am working on a paint application for Android. Now I want to implement an eraser to allow erasing parts of a loaded bitmap by using touch input and making the bitmap transparent along the finger's path.
A very good example of what I try to achieve is shown in the application Steamy Window for Android. Steamy Window simulates a fogged window, where a user can wipe parts of the fog via touch input.
UPDATE: I have posted the most important sections of my current code below. I am not really happy with it for the following reasons:
Drawing is quite sluggish. What can I improve here?
I am looking for a way to use an alpha mask in order to set the pixel transparency/alpha of the pixels as I want to simulate a paint brush. Any suggestions how this could be achieved?
CODE:...................
View 1 Replies
View Related
Oct 29, 2010
I have run into an requirement of my application that i cant find a way to do this.
I need my application to be fullscreen and no title bar (done), and this application will have a background image. However, all the activities/views of my application must be transparent/translucent so the application background will be visible all the time behind the information i am displaying.
Basically i would like to have this behavior
http://www.geeky-gadgets.com/wp-content/uploads/2010/05/amazon-kindle-android-app.jpg
supousing that the image you see is not the phone wallpaper, but the application background image. What would be the application configuration in the manifest file and what would be the configuration for eacy activity/view?
I also noticed that, i need to setup each activity to be fullscreen without title bar. Is there a way to do this globaly in the application so all activities will behave this way?
View 1 Replies
View Related
Mar 29, 2010
In my application I use an image . I made some portion of the image transparent. Now How can I find the co-ordinates of the transparent portion of the image so that I am able to find the actual area of the non-transparent area.. I want some methodical way to find.
View 1 Replies
View Related
Jul 6, 2010
My objective is to run a glowing animation on an image.I am changing the image alpha to produce this effect.
I have used basic AlphaAnimation provided in android framework but found that its slowing down other animations. So i extended a class from SurfaceView and created a thread to update it. ( Again here, i am manipulating alpha of the image ).
Everything seems fine, except that i am not able to draw a transparent image onto SurfaceView.Its showing black color on the transparent areas of the bitmap.code...
View 1 Replies
View Related
Jan 4, 2010
How can I make certain pixels of an DrawableBitmap transparent?
View 3 Replies
View Related
Oct 6, 2010
I need to display image has background and transparent text at particular location of the image text,here my problem is it display well in some devices and not being proper alignment in larger screens,even i used separate resource file like layout,layout-large,layout-small but in some case it's not working well,i set. Code...
View 1 Replies
View Related
Jun 3, 2010
I've never built a game before, and I've not programmed for Android before but am looking to do so over the summer by building a game. What type of object do I use for a shape that I want the user to be able to drag around the screen for instance using touch gestures? How do I tie together the MotionEvent, View and Graphics2D to make objects drawn on screen that can be interacted with? I imagine this will use ActionListeners / Handlers but I'm a bit confused at this stage.
View 1 Replies
View Related
Oct 8, 2010
I have an android application to display an image on another. the second image's white color should be converted in to transparent. so i used two imageviews. the original image to be overlayed is bitmap1. image after making transparent is bitmap2. when i run this i got some exceptions atsetPixel method. the code ...
View 1 Replies
View Related
Oct 13, 2010
How would I go about putting a transparent bar along the top of a scrollview so that when the text scrolls up it kind of fades out towards the top? I am talking about the kind of thing that the Facebook and NFL mobile apps use. I think it just makes the whole design look nicer and I was wondering how I could implement this.
View 1 Replies
View Related
Aug 20, 2010
I'm rooted and running WW 4.6 if this helps.
View 2 Replies
View Related
Apr 7, 2014
I'm using CM 10.2 on my GS3 with Xposed and Cobalt theme. Is there a xposed module that will allow me to change system settings background and other default apps bg like the dialer, contacts...etc?
View 8 Replies
View Related
Feb 10, 2012
is it possible to make the navbar semi-transparent?
View 1 Replies
View Related
Aug 12, 2010
Does anyone know how to make my Droid X screen a bit less sensitive to touch.What I mean is when scrolling for music or ringtones I barely touch the screen and it selects the song or ringtone.How can I desensitize it??
View 8 Replies
View Related
Nov 16, 2009
Coming from the Blackberry world I was wondering if someone (BK?) has made it possible to make the touch keyboard Make a Capital letter when holding down the Key..instead of the crazy character menu I get now.?
View 2 Replies
View Related
Oct 17, 2012
I want to know how to make the notification pull menu semi-transparent on a custom ROM.I am no developer...I am using ARHD Rom and want to make the notification pull down menu semi-transparent like in ViperX ROM.
View 1 Replies
View Related
Sep 17, 2010
Can anyone tell me how to combine or concatenate two bitmap images into one in android?
View 2 Replies
View Related
Aug 19, 2009
seems pretty straightforward.
CODE:..............
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
Sep 9, 2010
I've got a things to do with android, so, I have 2 images,
1. image from camera
2. another image from somewhere
So what I want to achieve is how to combine those image into 1 image, but it's overlapping (just like watermarking the image). The 2nd image should be scaled first into the size of the 1st image(camera) - so they have same dimension, then if the 2nd image pixel is black, don't combine it (so the black means transparent color - on 2nd image). Do you know what is the best way achieve this, can I do this with xor or bitwise?
View 2 Replies
View Related
May 19, 2009
Can it be done? If it can, is it much of a performance hit, and is there an example anywhere?
View 4 Replies
View Related
Nov 17, 2010
I am developing an application,In my application i am display images using ImageView from url using xml parsing,i want to display zoom image,when i double touch on the Image,then again double touch on zoomImage,i want to reset image.How to implement in image using andorid..
View 1 Replies
View Related
Nov 24, 2010
I am working on some example in which i want to drag the image corresponding to touch in Android. Does anybody have an idea about how I can do it?
View 4 Replies
View Related