16 R.raw.star,
R.raw.movie_loading,
R.raw.uk,
R.raw.white_material_wave_loading,
17 R.raw.check_animation,
R.raw.confetti,
R.raw.gears,
18 R.raw.hand_sanitizer,
R.raw.heart_preloader,
R.raw.i_was_scared_after_that_brouhaha,
19 R.raw.im_thirsty,
R.raw.true_will,
R.raw.workout_monkey_stay_healthy,
20 R.raw.ripple_loading_animation,
R.raw.signature,
R.raw.asdasd,
R.raw.celebration,
25 protected void onCreate(Bundle savedInstanceState) {
27 this.requestWindowFeature(
Window.FEATURE_NO_TITLE);
30 this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
31 WindowManager.LayoutParams.FLAG_FULLSCREEN);
33 super.onCreate(savedInstanceState);
37 Intent intent = getIntent();
38 int renderer = intent.getIntExtra(
"renderer", 0);
39 int file = intent.getIntExtra(
"file", 0);
40 if (file < 0 || file >=
rawAssets.length) {
70 LottieAnimationView lottie =
new LottieAnimationView(
this);
71 lottie.setAnimation(
id);
73 lottie.setRenderMode(RenderMode.HARDWARE);
75 lottie.setRenderMode(RenderMode.SOFTWARE);
77 lottie.setRepeatMode(LottieDrawable.RESTART);
78 lottie.setRepeatCount(LottieDrawable.INFINITE);
79 lottie.playAnimation();
80 setContentView(lottie);