Questions tagged [imageswitcher]

An ImageSwitcher is a built-in Android view widget to select an image from a scrolling list of thumbnails with preview.

96 questions
6
votes
2 answers

Android: How to: set the Image of ImageSwitcher by a Bitmap? setImageBitmap doesn't exist?

i can't find setImageBitmap from ImageSwitcher. is there a way to set it by a bitmap? UPDATES1 then i found this -> set Image from file URI But my case is, i have to draw something in the bitmap before it set to ImageSwitcher. So, is there no way to…
eros
  • 4,946
  • 18
  • 53
  • 78
6
votes
1 answer

what does ImageSwitcher actually DO?

I'm trying to snaz up my android apps and I see that ImageSwitcher is being referenced a lot for all sorts of animation tasks, but the google docs are totally spartan and don't describe anything other than the methods that are in the class.…
Yevgeny Simkin
  • 27,946
  • 39
  • 137
  • 236
6
votes
1 answer

How to enable pinch zooming in the image switcher?

The application's interface consists of the following items. An image switcher that fills the entire screen. A next button. A previous button. How can I use the pinch zooming in the image Switcher?
4
votes
0 answers

Using imageSwitcher with imageLoader

I'm a beginner with the android platform. I want to use ImageLoader with ImageSwitch in my ListAdapter. What is the way to do that? Thanks
Chandanit
  • 57
  • 4
4
votes
2 answers

Android Imageswitcher: switch images periodically?

I am using an ImageSwitcher with a TouchListener to change images from an array. Its working fine but i want it to switch images every x seconds or so, so that I can add imageSwitcher.setImageResource(imageList[curIndex]); to it. Any suggestions?
Akash Malhotra
  • 1,106
  • 1
  • 17
  • 30
4
votes
2 answers

fullscreen ImageSwitcher without gallery in Android

I'm trying to build an application in android, in one of my activities I wanna show full screen images and make them slide left and right by sliding finger on the pictures. I have tried basic gallery view and Image Switcher but I couldn't handle the…
osayilgan
  • 5,873
  • 7
  • 47
  • 68
3
votes
1 answer

what is the use of makeView() method in ImageSwitcher

I created a simple ImageSwitcher which implements the ViewFactory. And in the example i have seen, there is a makeView() method which is not called explicitly, but if the method is not present it shows the errors. Can anyone explain me the purpose…
user936126
3
votes
3 answers

How can load the images with the Glide in ImageSwitcher

For creating image slide show , I want to use image switcher with timer . I read this blog post it's very clear but it doesn't load images from network . Now i want load images from network with Glide Library . This is MainActivity : public class…
Aron Glover
  • 385
  • 2
  • 15
3
votes
0 answers

Slideshow with Picasso

I'm displaying multiple images from our server as a slideshow with a ImageSwitcher. Before the ImageSwitcher gets initialized I want to preload the images with Picasso library. I want to say that I use Picasso with an interceptor, because our server…
PatrickMA
  • 887
  • 9
  • 23
3
votes
2 answers

Android: imageSwitcher fit on screen

I have a problem with imageswitcher to fit on screen. Please check PIC 1. There is still white free space on the edge of the screen. I want to achieve the effect in PIC 2. There is no empty space and imageswitcher perfect fit to screen. I can do…
Matwosk
  • 459
  • 1
  • 9
  • 25
3
votes
3 answers

Null point exception in IMageSwitcher.setImageResource()

I am doing an animation to show many images in ImageSwitcher but am stuck in setting images to ImageSwitcher. This is the imageswitcher in my xml.
ankit_rck
  • 1,796
  • 2
  • 14
  • 24
2
votes
0 answers

changing image with imageswitcher and onTouch

I want to make android app like the following site. https://sectional-anatomy.org/ct-abdomen/ or like https://radiopaedia.org/cases/squamous-cell-carcinoma-oral-cavity There are multiple pictures and these are changing by scrolling. I have done…
2
votes
1 answer

Image loaded from assets folder comes in different size than res/drawable

In my project I was loading images dinamically from the folder drawable-hdpi into an ImageSwitcher like this: int[] images = new int[2]; logoImage = (ImageSwitcher) findViewById(R.id.logo_image); images[0] =…
João Menighin
  • 3,083
  • 6
  • 38
  • 80
2
votes
0 answers

ViewSwitcher vs ImageSwitcher Android

I need to display different images(in the same place on the screen)on some event, they should have a smooth transition. For the transition, I am using animation. But, for the actual loading of a different image, I want to understand the performance…
Namratha
  • 16,630
  • 27
  • 90
  • 125
2
votes
0 answers

Animation callbacks for ImageSwitcher Android

I am using an ImageSwitcher to display a series of images with animations for transitions. Is there a way I can pace the transition based on the duration of the animation? Is it possible to have an AnimationListener or something of that sort to…
Namratha
  • 16,630
  • 27
  • 90
  • 125
1
2 3 4 5 6 7