In Android\'s VideoView, is there any way to achieve the same effect as ImageView.ScaleType.CENTER_CROP?
That is, I want my VideoView to play the video such that it
ConstraintLayout has an attribute app:layout_constraintDimensionRatio for this purpose.
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
See the official documentation for more details