Now I have an idea that I just appear on the screen, changing the view from GONE to VISIBLE, and instead want to have TranslateAnimation, which moves the view to the screen. As soon as the animation begins, the view on the right becomes cropped. I suppose this is because the parent view takes the width of the left view and factoring, what is in the calculation of the view? Is there a way to prevent this from happening, so it looks like both types are moving to the screen on and off? Installation
android:clipChildren="false" android:clipToPadding="false"
doesn't seem to help
source share