GithubHelp home page GithubHelp logo

Comments (4)

SpecialCyCi avatar SpecialCyCi commented on July 24, 2024

Hi! Which map are you using? Google Map?

from androidresidemenu.

rombra169 avatar rombra169 commented on July 24, 2024

Thanks for your response
Yes, Android Google Map V2.
But I noticed that this bug was present only on Android version 2.x
On device with 4.x, I don't have this problem.

from androidresidemenu.

SpecialCyCi avatar SpecialCyCi commented on July 24, 2024

I am so sorry to tell you that Google Map V2 MapView didn't support animation. But Google fixed this issue on API 16.

AndroidResideMenu use AndroidAnimation Library to scale down activity.

    /**
     * a helper method to build scale down animation;
     *
     * @param target
     * @param targetScaleX
     * @param targetScaleY
     * @return
     */
    private AnimatorSet buildScaleDownAnimation(View target,float targetScaleX,float targetScaleY){

        AnimatorSet scaleDown = new AnimatorSet();
        scaleDown.playTogether(
                ObjectAnimator.ofFloat(target, "scaleX", targetScaleX),
                ObjectAnimator.ofFloat(target, "scaleY", targetScaleY)
        );

        scaleDown.setInterpolator(AnimationUtils.loadInterpolator(activity,
                android.R.anim.decelerate_interpolator));
        scaleDown.setDuration(250);
        return scaleDown;
    }

You can see details in:

http://stackoverflow.com/questions/13694868/google-maps-android-api-v2-mapview-animation-failure

https://code.google.com/p/gmaps-api-issues/issues/detail?can=2&start=0&num=100&q=animation&colspec=ID%20Type%20Status%20Introduced%20Fixed%20Summary%20Stars%20ApiType%20Internal&groupby=&sort=&id=4782

from androidresidemenu.

rombra169 avatar rombra169 commented on July 24, 2024

It doesn't matter. Thank you very much for your replies.

from androidresidemenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.