Android :: Way To Have Image Overlaid Over Another Image
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
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
View Related
Jul 21, 2010
I use http://stackoverflow.com/questions/541966/android-how-do-i-do-a-lazy-load-of-images-in-listview/3068012#3068012 to load images in a ListView and a GridView. It works but the images are loaded form bpttom to top. How to fix that?
Bonus Question: Can I use a loading animation in a image view while the real image is loaded? Right now it's just a default image.
View 1 Replies
View Related
Dec 7, 2009
It will be helpful if any one can help me out in understanding the concept of radio,flash,system image in android mobile device. Also why are they required? and what is their role in Device?
View 2 Replies
View Related
Mar 29, 2009
Eldev LLC is looking for android developer familiar with google image search API to write a new application.
View 4 Replies
View Related
Oct 1, 2009
I want to capture much larger image than the current small image captured by the android g1 phone camera.
View 9 Replies
View Related
Aug 24, 2010
Is there a way to load an image file into an ImageView object, and then define a transparent color for this object?
View 1 Replies
View Related
Oct 12, 2010
I am very new to Android (and Java) originally a C# developer.. and am struggling with the concepts and terminology.
I have been through almost all the tutorials and have decided to start on my first test app.The first part of my app is going to involve using the gallery widget (based on the hello gallery tutorial) to display a load of images. (these images will eventually come from the phones camera, but I will cross that bridge later!) My images are currently stored in the drawable folder in my project.As a first step I want to just have the user click on an image and it pops up full screen, just so I know how to get reference to it, but I am struggling. Evetually I want the user to click an image, then a window/activity(?) will open asking them for a bit of text. This will then be store in sqllite against the image. Code...
View 1 Replies
View Related
Sep 7, 2010
We can view an image with What if we have some images? How can we put the extras to let the viewer know we have /sdcard/a.jpg, /sdcard/b.jpg, /sdcard/c.jpg ? I hope to do this in a time because starting an activity is very expensive. Code...
View 2 Replies
View Related
Nov 16, 2010
I have a scroll view with lots of image buttons. I want to change the image for an image button when it's pressed. The thing is that I want the image to remain until another image button is pressed. That's why I couldn't use a selector. What is the best practice to achieve his?
View 3 Replies
View Related
Jan 6, 2010
I want to show a loading Image of GIF type for a finite time .how to do this. Please tell me the solution if anyone knows.
View 3 Replies
View Related
Oct 27, 2010
Can anybody please guide me how to write the code for opening the new image after clicking the imagebutton in android. I have tried something like this:
package com.example.imageButton;
import android.app.Activity; import android.os.Bundle;
import android.view.View; import android.widget.ImageButton;
public class imageButton extends Activity {
private static ImageButton seqIBtn;//these are the three imageButton private static ImageButton vidIBtn;private static ImageButton infoIBtn; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); seqIBtn = (ImageButton) findViewById(R.id.btnSequence); vidIBtn = (ImageButton) findViewById(R.id.btnVideo); infoIBtn = (ImageButton) findViewById(R.id.btnInfo);}
View 6 Replies
View Related
May 13, 2010
Just wondering if its possible to use the built in image viewer to display an image sourced from a database. I'm hoping I can pass the byte[] as an extra to the ACTION_VIEW intent, but can't find any docs on it so far. Alternatively I'll have to roll my own viewer or first write the image out to a file and pass that to the intent.
View 3 Replies
View Related
Oct 27, 2010
I want to take a picture with camera, after read the document and googling,I found, if i don't want the original picture,i just use
Code...
View 3 Replies
View Related
Feb 10, 2010
I have a vertical LinearLayout. I would like to layout 1 ImageView on top and 1 ImageView at the bottom of that LinearLayout. I tried putting 'android:gravity="top"' and 'android:gravity="bottom"' in each of the ImageView, but both ImageView appears at the top of the LinearLayout. Is there a way to fix it?
CODE:................
View 2 Replies
View Related
May 11, 2010
I am playing around with the Gallery widget.I would like to know how can we get the position of the image on focus in the gallery. For example having several pictures in my gallery, if I tap my finger to the right, pictures will come and go until it stop to one. How one can get the position of this one picture that is currently on focus ?I don't know if I was clear enough, if there is anything you want me to add do not hesitate.
View 2 Replies
View Related
Oct 12, 2010
I have an android application that needs to zoom an image about centre. i implemented the code...
View 1 Replies
View Related
Nov 18, 2010
I'd like to show a png in the built-in image viewer. Code...
View 1 Replies
View Related
Jul 25, 2010
I have an ImageView in my android layout. And I would like to add a 'decorator' image at the lower right corner of my image view. Can you tell me how can I do it? I am thinking of doing with a FramLayout with 2 image views as its child, but how can i make one image the lower right corner of another?
View 2 Replies
View Related
Feb 13, 2014
I'm having Android code to move, zooming and rotation image. And it working perfect. Now I want to set ellipse on the image and changing it place upon image changes. The ellipse is drawing perfect in moving and zooming cases, but I don't know how to set new points for the ellipse if I rotate the image. this is the code I'm using:
@Override
protected void onDraw(Canvas canvas) {
super.onDraw(canvas);[code].......
View 2 Replies
View Related
Jan 11, 2010
I need to design a board UI using android platform. i was planning to take one image as board and moving the required images over the board. How do i achieve the same? I need to split the board based on coordinates and need to move the required images to specifies coordinates. Is there any andorid api for image movements and animation?
View 8 Replies
View Related
Mar 26, 2009
I have the following code to save a bitmap to a jpg file.
It works except I couldn't specify the file name.
The image file is save in /sdcard/dcim/Camera.
How do I specify a file name, or even the saved path?
CODE:.......................
View 5 Replies
View Related
Nov 16, 2010
I have an ImageView which I want to always be the same size. If the image is smaller than the view, I'd like it to be centred in the view. If the Image is larger than the view then I'd like it scaled down - with aspect ratio preserved.I've had several attempts at this myself
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
Oct 15, 2010
I'm new here, so I thought I'd thank you all in advance for any help you may give me.
I am currently writing an application that stores its data in an arbitrary XML file under /res/xml. This XML file contains an element called <content>, which in turn contains two more elements; <text> Ppand <image>. This file will be used to create a layout with some text interlaced with images. What I'd like to do is get an image under /res/drawable with the information under the <image> element in my XML. However, I don't know how to do this. Does anyone have any ideas?
View 2 Replies
View Related
Nov 17, 2010
I'm new to Android application development. I would like to ask the use of image button in Android programming when simple button can also add the image with the button. How can we generate click event of image button?
View 2 Replies
View Related
Jul 6, 2009
I have a camera application that captures an image and saves it in the sd card.I want to blur the image now.I need to design a simple blur filter,I have no idea how I can do it in android.I can not find any examples anywhere.Can someone tell me the basic steps to blur an image in android?
View 4 Replies
View Related
Jun 8, 2010
I want to create image slideshow in android. i have many images in android gridview now i want to open manual slideshow if any image is clicked so that i could view it by moving finger left or right next and previous images like android built in gallery. any one guide me how to achieve this?
View 1 Replies
View Related
Aug 10, 2010
How to detect quickly if a specified URL contains an image in Android?
I have link of type http://foo.bar/w23afv so naive approach like checking end of URL string won't work here.
View 1 Replies
View Related