Java Code Examples for android.widget.RelativeLayout.startAnimation()

The following are Jave code examples for showing how to use startAnimation() of the android.widget.RelativeLayout class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: RunMap   File: TrackPresenterImpl.java   Source Code and License Vote up 5 votes
@Override
public void showMapUiLayout(Context context, RelativeLayout mapUI, Fragment mapFrag) {
    if(isMapFragmentShowing){
        return;
    }
    mapFrag.setUserVisibleHint(true);
    Animation animation = AnimationUtils.loadAnimation(context, R.anim.scale_in);
    mapUI.startAnimation(animation);
    isMapFragmentShowing = true;
}