-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with map #9
Comments
Hi! Which map are you using? Google Map? |
Thanks for your response |
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 |
It doesn't matter. Thank you very much for your replies. |
Hi, thanks for your library.
I have a problem with your library and map.
I've put a map in a fragment, but when I open the menu, the map doesn't move and stay at his position. All the others views move with the main view.
Can you help me ?
Thanks
The text was updated successfully, but these errors were encountered: