Re: [android-developers] Overlay Images

2012-02-07 Thread New Developer
It would appear to fail because scale is 1.00 or the matrix is the identity matrix testing for scale == 1.000 and setting it to 0.98 makes the code work and produces the falsefalse true false Why ? On 02/07/2012 07:50 AM, New Developer wrote: Thanks I got that to work however n

Re: [android-developers] Overlay Images

2012-02-07 Thread New Developer
Thanks I got that to work however now reloading the image is causing a problem here is the code Bitmap img = BitmapFactory.decodeFile(fName); Log.i("display"," mute: " +img.isMutable() + "recycle: " + img.isRecycled() ); Matrix matrix= new M

Re: [android-developers] Overlay Images

2012-02-06 Thread Daniel Drozdzewski
Ok, Create a LayerDrawable object and keep adding to it Drawable objects (LayerDrawable.setDrawableByLayerId (int id, Drawable drawable)) extracted from each of your stacked Views. On 6 February 2012 13:47, New Developer wrote: > Thanks > I don't have access to the bitmaps  (I don't think) >

Re: [android-developers] Overlay Images

2012-02-06 Thread New Developer
Thanks I don't have access to the bitmaps (I don't think) I have access to the ImageView and the Canvas associated with the ImageView Thanks again On 02/06/2012 08:37 AM, Daniel Drozdzewski wrote: Draw each of the bitmaps on one canvas in the ascending order from deepest to topmost. On 6 F

Re: [android-developers] Overlay Images

2012-02-06 Thread Daniel Drozdzewski
Draw each of the bitmaps on one canvas in the ascending order from deepest to topmost. On 6 February 2012 13:18, New Developer wrote: > I have 4 ImageViews   one stacked on top of the other  all the same size, > each ImageView has it's own associated canvas that I can access. > > Thus allowing m

[android-developers] Overlay Images

2012-02-06 Thread New Developer
I have 4 ImageViews one stacked on top of the other all the same size, each ImageView has it's own associated canvas that I can access. Thus allowing me to view "layers" of a single image on screen. I now wish to save this screen image to a file. How can I merge the canvases into one image?

[android-developers] Overlay images onto Camera preview SurfaceView

2010-08-23 Thread Rohan Balakrishnan
I have a SurfaceView that is being used to draw custom animations, and I would like to overlay them onto a live-feed from the phone's camera. Currently, the SurfaceView that contains the animations has a white- background, but if I were to overlay them onto the phone's camera feed, they would have

Re: [android-developers] Overlay images in layout

2009-12-10 Thread Mark Murphy
> Hello there! Im making an app that displays some text at the top, an > image then a couple of buttons. I got the design in a linear layout, > and I need to place the text at the top partially overlaying the image > which is in the middle. I have tried the frame layout but is very > unflexible an

[android-developers] Overlay images in layout

2009-12-10 Thread Albert
Hello there! Im making an app that displays some text at the top, an image then a couple of buttons. I got the design in a linear layout, and I need to place the text at the top partially overlaying the image which is in the middle. I have tried the frame layout but is very unflexible and it pins e