2
votes
1answer
20 views

Android - How to color whole area of an image on user's tap and center it on the sceen?

I'm working on a little project where the user can color whole areas of an white image by tapping on the touch-screen. This is an example of image: And this is not difficult, infact I use the ...
0
votes
1answer
24 views

How to center image contained in ImageView after a modify on it?

I've written a little piece of code, Thanks to stackoverflows users, where I fill with some color different regions of an image using the "Flood fill" algorithm. The problem is that the result of this ...
0
votes
1answer
51 views

Android images over image

i have an imageView on screen and i want to put another imageview that will appear in the bottom of the imageView (It is just like a little line), i align the line with the main imageView the problem ...
0
votes
3answers
37 views

Resize ImageView/ImageButton on different screen sizes with same width and height ratio

I have Linearlayout consisting 4 ImageView/ImageButtons. All images have same width and height. I want this layout always fit parent's width and all images scale with the same aspect ratio (width and ...
0
votes
2answers
35 views

Need the image to be right aligned and centered

Show the list as clickable From the above post I am able to have the image shown but it only appears on the first line of the title text. I would like it to be centre aligned if the title is 2 or ...
0
votes
1answer
19 views

Align image to the top with “match_parent”

I've got a problem with my application. I've a image which goes across the whole screen (ImageView) with this code in xml: <ImageView android:layout_width="match_parent" ...
1
vote
0answers
18 views

ImageView -> getScaling / position of image (where does scaling happen)

I want to get the exact position and size or at least the scaling of the image contained in an ImageView, because I need another ImageView on top of it with the same size for drawing. My original ...
1
vote
2answers
44 views

Android dividing a little part of screen vertically

I have two images next to each other. Sure I am using "dp" as size, in some screens images become little and in some screens not. It's what dp does. I don't know what I must set their sizes. 50dp, ...
0
votes
1answer
26 views

Scroll view with Button, ImageView and viedoView

I try to make scroll view with button, imageview and viedoview. I create dynamically from my code. When i put button with video, i can see the both of them. The same with button and imageView. My ...
0
votes
2answers
57 views

How do I remove extra space above and below the imageview?

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:background="@color/light_grey" ...
0
votes
0answers
14 views

Precise Images and Many Devices

I'm creating a Splash image using Photoshop. I need to know what should be the size of the image so that it works good across all the devices. I know I should create a lot of images so as to get it ...
1
vote
2answers
59 views

Android - How to place icons on full-screen image in the same place for all screen sizes and densities?

I have image and I want it to be full-screen in the layout. Then I want to place icon on a particular place of the image; the problem is that the icon doesn't lie on the same place when I run the ...
0
votes
0answers
35 views

How can create a panorama mode image viewer in android?

Now I am create an app for viewing panorama mode images. How can I create an image viwer for displaying panorama mode images(just like str).Any one please help me....
1
vote
1answer
39 views

Set ImageView from SDcard to match_parent height?

So I have an ActionDialog that saves a signature. When I set the ImageView to the new captured signature it is way too tall. Below I will illustrate the problem Right now at default the screen looks ...
2
votes
1answer
40 views

android interface error ImageButton

Hi i have an app that is a gallery of images. The problem is that, i have buttons to move between images on the center of the app and i want them at 75% of the margin of top. The question is : Can i ...
0
votes
5answers
48 views

Showing Images on a layout

I am having this code and require the following position of images.But as I used Relative Layout, & the Images are not aligning properly in all the devices, Some are overlapping the images. Edit: ...
0
votes
3answers
47 views

adding image over another image

I want to develop an appstore. I want to add a label (like "new" or "hot" labels) on top of the icons automatically. like this image How is it possible? I mean I can change visibility of the image ...
0
votes
1answer
40 views

Transparent Image appears black on a Cached Bitmap

I have imported the android's example project in the following link. http://developer.android.com/training/displaying-bitmaps/index.html When i ran this app, I got a clean grid of images. When i ...
0
votes
2answers
60 views

Create image layout

I am developing an application. The need is as, i want to create a layout as shown in figure : In this, I took a relative layout to which I had given an image as background. The image is not having ...
1
vote
1answer
60 views

Moving an ImageView located in a WindowManager doesn't work properly

I'm trying to draw an Icon over everything on the screen (TOP MOST) similar to the chathead of new Facebook messenger I have create a service to work in the background and based on a specific ...
0
votes
2answers
128 views

How to fit image in full screen in ImageViewTouch

I am using [ImageViewTouch][1] library to zoom a image instead of imageview. <it.sephiroth.android.library.imagezoom.ImageViewTouch android:id="@+id/imageweb" ...
0
votes
1answer
116 views

Android ImageView is not bring to front

android ImageView is not bringing to front in RelativeLayout Tried to call bringtofront() didn't work tried setting visibility to true didn't work XML CODE <?xml version="1.0" ...
0
votes
3answers
31 views

Placing an ImageView on the X and Y cordinates

Why won't the ImageView place along the x and y Coordinates. I am using a relative layout but for some reason the imageView is placing in the top left of the relative layout and it is not positioning ...
0
votes
2answers
92 views

Centerally aligned text over ImageView in android Linear Layout

How to display text on android ImageView with Linear Layout. I found many examples on stack overflow for this purpose but all are for Relative Layout, Frame Layout But I am not getting it in Linear ...
0
votes
0answers
91 views

Moving imageview between views

I am trying to move an imageview that is inside a tablerow that is inside a horizontalscrollview. Everything is wrapped by a relativelayout. During run time, I load the tablerow with images. I am ...
0
votes
1answer
51 views

Android - Images are not displayed even though it has been loaded

I set my imageview layout width to a fix value , my layout height to wrapcontent. The images for the imageview are loaded via url. What happened is that , by the time my view is drawn, since the image ...
0
votes
0answers
43 views

Android - View does not recalculate

My problem still relates to my recent questions. But i guess i haven't defined it well on those questions. So, i have this layouts: listlayout.xml <FrameLayout ...
-1
votes
1answer
83 views

Android- How to get image size

I have an image loaded asynchronously by its url. Then i set the layout width and height according to the size of the of the image loaded. Is there a way i can get this aside from getting the size ...
0
votes
0answers
38 views

Android- Images in my HorizontalListView changes it size randomly

From my previous question, I came up with a solution of giving the android:layout_width="360dp" (a fix value) then set my android:layout_height="wrap_content" . Somewhat I achieved Figure B. But the ...
1
vote
1answer
114 views

Android ImageView dynamic width and height

I have a horizontal list of images loaded from a url. So i have an ImageLoader, then an Adapter then my Activity. My xml layouts looks like this: mainlayout.xml <LinearLayout ...

1 2 3 4 5 7
15 30 50 per page