AndroidViewAnimations icon indicating copy to clipboard operation
AndroidViewAnimations copied to clipboard

View add inflate(R.layout.loading, parent, true) animation work wrong

Open A2DNEW opened this issue 6 years ago • 0 comments

I use this code for add view to main activity

View add = G.inflater.inflate(R.layout.loading, parent, true);
        contentLoading = add.findViewById(R.id.contentLoading);

        YoYo.with(Techniques.RubberBand)
                .onStart(animator->{contentLoading.setVisibility(View.VISIBLE);})
                .duration(700)
                .playOn(contentLoading);

But contentLoading animation is wrong and not work correct

A2DNEW avatar Aug 01 '19 22:08 A2DNEW