Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1091701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T23:34:16+00:00 2026-05-16T23:34:16+00:00

I am a newbie to android development.Now i would like to do gallery view

  • 0

I am a newbie to android development.Now i would like to do gallery view as circular like image as below.The things is that i want to enlarge the center image when user scroll from left to right and right to left. Is there any tutorials for that ?

enter image description here
what I want is the image that’s been swiped need to be enlarged while it’s at the center. I thought I could do it with Gallery. but the example from the android developer is not the one I want. 🙁

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T23:34:16+00:00Added an answer on May 16, 2026 at 11:34 pm

    If you want to enlarge the center selected image there is one possible way.
    On your onItemSelected method, just call an animation to zoom the object. The property of gallery is that it is always center-locked. So the center element will be always selected.
    Hope that will work..

    <?xml version="1.0" encoding="utf-8"?>
    <set
        xmlns:android="http://schemas.android.com/apk/res/android"
        android:shareInterpolator="false"
        android:fillAfter="true"
    >
    <scale 
           android:fromXScale="1.0"
           android:toXScale="1.50"
           android:fromYScale="1.0"
           android:toYScale="1.50"
           android:duration="600"
           android:pivotX="50%"
           android:pivotY="50%"
           android:fillAfter="true"/>
    
    </set>
    

    Do remember that you will have to store the previous view as when the element is move away from center it should be put to the normal size.

    So you can have two views – prevView and currView.
    Do the animation on the currView.

    Thanks,
    Sen

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am a newbie to Android and the Eclipse development environment and would like
I'm a newbie Android developer. I would like to know if there exists a
.NET newbie here... I'd like to make a button in a Windows form that
As a newbie to Android development, I'm trying to do the basics and build
I am a complete newbie to Android development; Basically, I am about to write
Extreme Android developer newbie here...well, new to Android development, not development in general. I
I am a newbie to Android and Java and want to write a function
Newbie question. I have a NSMutableArray that holds multiple objects (objects that stores Bezier
Java Newbie here. I have a JFrame that I added to my netbeans project,
I'm a relative newbie to web and mobile development and especially to security so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.