Приведенный ниже код просто переносит изображение с экрана на экран.
Код: Выделить всё
TextView tv = findViewById(R.id.textview);
final float toXDelta = 1000;
final float fromXDelta = -1000;
final int animationDuration = 3000; // Animation duration in ms
tv.setText("101010010101000110101010101");
TranslateAnimation animator = new TranslateAnimation(fromXDelta, toXDelta, 0, 0);
animator.setDuration(animationDuration);
animator.setRepeatCount(ValueAnimator.INFINITE);
animator.setRepeatMode(ValueAnimator.RESTART);
tv.setAnimation(animator);
animator.start();
Подробнее здесь: https://stackoverflow.com/questions/787 ... -animation
Мобильная версия