[android-developers] java.util.zip.ZipException duplicate entry LICENSE.class

2016-05-09 Thread source.rar
Hi, I'm trying to include two 3rd party libraries which both include spongycastle () and gives me the following error, :app:transformClassesWithJarMergingForDebug FAILED Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'. >

[android-developers] Alpha fade animation in a specific direction

2016-04-08 Thread source.rar
Hi, Is there a way to specify the direction of an Alpha fade out animation on a ImageView? I have 2 ImageView's in a FrameLayout and would like to fade out the above Image and reveal the below one incrementally from the top gradually without changing the size/bounds of the top Image (i.e.

[android-developers] Re: Draw image at desired angle

2011-07-12 Thread source.rar
Exactly what was needed (didn't know of the rotate()). Thanks! On Jul 12, 8:26 am, Adam Ratana adam.rat...@gmail.com wrote: You can try: canvas.save(); canvas.rotate(angle, x, y); // x,y is the point around which to rotate // draw your image here... canvas.restore(); -- You received this

[android-developers] invalidate(Rect) and getClipBounds() mismatched

2011-07-11 Thread source.rar
Hi, I am trying to redraw a selected rectangular region within my custom view on a touch event. To achieve this I determine the rectangle around the current touchevent location and invoke invalidate(Rect currRect). Dispalying the values of the rect show that the co-ordinates are for the

[android-developers] Draw image at desired angle

2011-07-11 Thread source.rar
Is it possible to draw a image on a Canvas within a custom view at a desired angle? I have a PNG of a line and would like to have this drawn at a desired angle within my view, can't seem to figure out how this could be achieved though. Appreciate any help with this, TIA. -- You received this