Back to project page screenplay.
The source code is released under:
MIT License
If you think the Android project screenplay listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.davidstemmer.screenplay.sample.simple.scene.transformer; /* ww w. j av a2 s. c o m*/ import android.app.Application; import com.davidstemmer.screenplay.scene.transformer.TweenTransformer; import com.example.weefbellington.screenplay.sample.simple.R; /** * Created by weefbellington on 10/2/14. */ public class HorizontalSlideTransformer extends TweenTransformer { private static final Params params = new Params(); static { params.forwardIn = R.anim.slide_in_right; params.backIn = R.anim.slide_in_left; params.backOut = R.anim.slide_out_right; params.forwardOut = R.anim.slide_out_left; } public HorizontalSlideTransformer(Application context) { super(context, params); } }