Closed janeSmith99221 closed 2 months ago
how to change surfaceview aspect ratio. it possible to change aspect ratio through xml: app:layout_constraintDimensionRatio="4:3". but want to change programmatically. is there any way.
Take a look at https://github.com/androidx/media/blob/release/libraries/ui/src/main/java/androidx/media3/ui/AspectRatioFrameLayout.java
how to change surfaceview aspect ratio. it possible to change aspect ratio through xml: app:layout_constraintDimensionRatio="4:3". but want to change programmatically. is there any way.