android - How to make ImageView larger than screen width and scroll with Animation -


I have something that is more than the width of my ImageView screen.

After scrolling the image using an animation like this:

  animationet animationSet = new animation set (true); AnimationSet.setFillAfter (true); Translation Translation Translation Animation = New Translation Permission (-1 * (curruntFragment * 40), -1 * ((curruntFragment + 1) * 40), 0, 0); TranslateAnimation.setStartOffset (400); TranslateAnimation.setDuration (200); TranslateAnimation.setFillAfter (true); AnimationSet.addAnimation (translateAnimation); ImgBackground.setAnimation (animationSet); ImgBackground.startAnimation (animationSet);  

This will not cut like this image

 Your question on Android sounds like

" If this is the case, then how to do it:

==> Configuring immersive mode

Open the GMD to access the settings, then the normal subsection Go and enable notification You can decide that you do not have an app pending in the status bar Want an invisible icon Ifikeshn, as well as you want to start to make boot and active lock screen.

In the trigger sub-section, you can change the sensitivity and status of triggers shown at the bottom of your screen to memorize position and nav bars, depending on the per-app basis Can also set immersive mode, though this is a Pro feature.

==> Using Immersive mode

Whether you are on your Home screen or in an app, which immersive screen you want to enable To select this, drag your information panel down. You have the option to keep both bars active, only to remove the nav bar, or to remove both NAV and status bars.

Both have been removed, the bold black borders on your screen will disappear, which are viewable to you area. This is a great way to increase your reading activity and increase internet browsing on your device. To re-expose the nav bar, tap or swipe the red trigger area along with the bottom. Be careful that your keyboard can not work in immersive mode, so toggle it in the notification shade is so easy. You can also choose to restore the navigation bar even when you need to use the keyboard!

Here are other options:


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -