アクティビティはビューではなく、ビューのコレクションを収容します。必要なのは単一のアクティビティですが、レイアウトを 2 つのセクションに分割します。次に、SurfaceView を含む LinearLayout と、その下にあるボタンとテキストを含む別のレイアウト コンテナーを持つことができます。次に、その下のコンテナーとは無関係に SurfaceView をアニメーション化できるようにする必要があります。これは、やりたいことのように思えます。
たとえば、次のようなものです。
<LinearLayout android:id="@+id/parent">
<SurfaceView android:id="@+id/surface">
</SurfaceView>
<LinearLayout android:id="@+id/controls">
<!-- Buttons and text -->
</LinearLayout>
</LinearLayout>
次に、Activity の onCreate() メソッドで、次のようにします。
setContentView(R.layout.main_layout);
surfaceView = findViewById(R.id.surfaceView);
// Now you should be able to animate the surfaceView independent to the rest of the elements in the activity
surfaceView = findViewById(R.id.controls);
// Rest of initialization code.