android-canvas
Draw an image floating over another in Android
I want to be able to dynamically place image(s) over another image in my app. Consider the first image as background and the other images to be on top level, I will also need to move those top level i[详细]
2023-04-05 08:31 分类:问答How to Save The Image From Canvas code in Android Application?
I have created a image in OnDraw(Canvas),i tried to Save that Image But its Not Working.image is Saved with Zero size.[详细]
2023-04-05 02:45 分类:问答Android Canvas two activities - content drawn on second canvas
I don\'t know how this is possible, but a canvas from Activity A is appearing on top of my canvas in activity B.Both activities are always alive (they are in an activity group).How is it even possible[详细]
2023-04-05 02:23 分类:问答Use hardwareAcceleration flag with Canvas.clipPath
I\'m porting a project made for the Galaxy Tab 1, for Galaxy Tab 2, but the apk runs slowly so I added the hardwareA开发者_开发知识库ccelerated flag on the AndroidManifest.XML of the new application.[详细]
2023-04-04 07:41 分类:问答Drawing on Canvas and save image
I am new to the Android Graphics class. I want to draw an image(actually a signature kind) using the touch events and want it to be saved on SDcard when I want to save it. I have scanned through the w[详细]
2023-04-04 07:38 分类:问答Add two image into 2 layers in android
I开发者_Python百科 want to do an app like photoshop, I want to add 2 image into 2 layers, and after that, I can eraser the top layer to make it transparent and see the bottom layers.[详细]
2023-04-03 12:45 分类:问答Face a Path object (arrow) towards another object (bitmap) on the screen
I\'ve almost got it, but there\'s a few problems. Here\'s my current code for drawing the arrows. The path creation included.[详细]
2023-04-03 08:56 分类:问答Android: drawing on the Canvas and View (without Bitmap)
I\'ve created the child of RelativeLayout. In its constructor I called: public CanvasHolder(Context context, AttributeSet attrs) {[详细]
2023-04-03 04:53 分类:问答How to extract a region from an android Bitmap
I am stuck with the following problem: I have an android Bitmap and a set of 4 coordinates, representing a rectangle. However, the rectangle may be rotated. For example I may have the coordinates 0/5[详细]
2023-04-02 17:10 分类:问答Android transparent canvas (surfaceview)
I\'ve got a panel which is placed on top of another view via a relativelayout. I would like to give this panel a transparent background, but didn\'t find the correct way to do this after searching fo[详细]
2023-04-02 09:42 分类:问答