Это мой xml:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<SurfaceView
android:layout_width="match_parent"
android:layout_height="10dp"
android:layout_alignParentBottom="true"
android:layout_marginBottom="0dp" />
</RelativeLayout>
Я хочу, чтобы это представление росло со временем.
Вот код анимации
SurfaceView surfaceViewTimer = (SurfaceView) findViewById(R.id.surface_view_timer);
Animation surfaceGrowingAnimation = new TranslateAnimation
(0, 0, Animation.ZORDER_TOP, 300);
surfaceGrowingAnimation.setDuration(5000);
surfaceViewTimer.startAnimation(surfaceGrowingAnimation);
Я хочу, чтобы эта анимация шла снизу вверх экрана. В настоящее время она идет сверху вниз.