Remove AspectRatioFrameLayout usage from transformer demo

Removing unnecessary usage from transformer demo

PiperOrigin-RevId: 645426871
This commit is contained in:
simakova 2024-06-21 10:15:57 -07:00 committed by Copybara-Service
parent f1fadccef5
commit d16004781e

View File

@ -49,7 +49,6 @@
android:text="@string/hide_input_video"
android:layout_margin="8dp" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
@ -76,28 +75,23 @@
android:padding="8dp"
android:text="@string/input_video_no_sound" />
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" >
<ImageView
android:id="@+id/input_image_view"
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content" >
<androidx.media3.ui.PlayerView
android:id="@+id/input_player_view"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
<androidx.media3.ui.AspectRatioFrameLayout
android:id="@+id/input_debug_aspect_ratio_frame_layout"
<ImageView
android:id="@+id/input_image_view"
android:layout_width="match_parent"
android:layout_height="match_parent" />
android:layout_height="wrap_content" />
<androidx.media3.ui.PlayerView
android:id="@+id/input_player_view"
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</FrameLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
@ -187,7 +181,6 @@
</FrameLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>