Referring to screenshot 1 below, I would like to create an image viewer circled in blue color with position of image selected circled in red color. I'm wondering which widget to use to create such layout. It looks like a Android Gallery to me however that leads to screenshot 2.
Screenshot 1
Screenshot 2
Screenshot 2 is displaying the selected image from screenshot 1 in full screen view. In addition, screenshot 2 can be scrolled by finger either left or right and correspond to the smaller gallery in screenshot1
Thank you very much for any help given.
Sounds like you wanna create a new activity in a custom dialog box with scrollable textview at the bottom. Upon clicking a smaller image it will open the new dialog window with a larger picture and the text.
I think you need to have Circle indicator for Image Viewer, here is an example which i came across during surfing: https://github.com/pakerfeldt/android-viewflow.
Related
The screen should show the current image in the center and the next and previous images to its left and right in a smaller image size. You can see the image here On swipe, the images should change and select as new item. It would be helpful if someone could point me to existing code similar to this. I have tried Fancycoverflow. it gives this kind of effect, but it skips items when I try to set particular item in center. I am not able to scroll and set the image in center easily.
Here you can see something similar but not exactly. You can add round transformation, and bigger size that icon, which was clicked.
I tried to create a library for similar to your issue. You can custimize it for better suit. Here you can find the source code and a video that shows how it looks like.
See you.
I am trying to create a horizontal like image gallery on one of my activities. I want it to take up about 1/4 of the screen and when you swipe left or right it'll go to the next image. Also over the bottom portion of the image there is an indicator showing you where you are in the list of images. Similar to what was done in these apps:
I can't seem to find out how to create this in android. I'm hoping someone out there has an idea and can point me in the right direction or to a tutorial.
Have you taken a look at ViewPagerIndicator?
I would like to create an image picker as shown in the picture below. What is the best way to go about it?
The screen should show the current image on the center and the next and previous on its side which is a smaller image size. On swipe, the images should change. It will be helpful if someone can point to an existing code similar to this.
Thanks
Im working with android about image and onclick listener. The purpose of my app is to monitor the area that user clicks on the screen. For example, I have a picture containing a rectangular and a circle. Assume that the color of the whole picture is brown(wood). So when I click on the rectangular, the color of rectangle will change to yellow. When I click on the one part of the picture, the color of that part will change its color, but other parts do not change. So, Im thinking about the solution for this app. Do I have to cut this picture separately and put them into the screen by using relative review? Or is there any other way to do this(Set up a coordination system)?
Yes you have to cut this picture separately and put them into the screen by using relative review. For example two ImageView with your backgound.
You can slse the image as recommeded by the other post, or overlay the image with a RelitiveLayout with specific sized buttons (background = #android/color/transparent)
I am using an Android Gallery widget to show a series of Layouts, and I am getting some unusual rendering of the TextViews within it. Sometimes the TextViews are drawn so they appear dimmed or maybe part transparent.
This is android 2.2
Here is what the app does, with some screen shots:
1. User drags and drops onto the Gallery to set change the content. This changes the content of the Gallery View, but setting parts of the layout to visible or Gone.
The screen updates to this. Look carefully and you will see some text above the green buttons that is not rendering correctly.
3.Finally, user drags away from the Gallery and then back. Voila, the text is rendered as expected. Why does it not work in step 2?
And as a final clue, the text also disappears when the user presses to drag the gallery.
See screenshot below. (listed in order Step 1, Step 2, Step 3)
Answering my own question:
I did not set the android:textColor property in the layout.