1

I have a VideoView in one of my Android app and have following code.

<VideoView android:id="@+id/mainVideo"
        android:layout_height="wrap_content" android:layout_width="wrap_content"
        android:maxHeight="200dip" android:maxWidth="300dip"
        android:soundEffectsEnabled="true">
</VideoView>

When I see this in design view, it doesn't work. I want the sizes to wrap but at max size written. If you see this post, you will realize how similar thing works for the ImageView setting android:adjustViewBounds property to true.

Community
  • 1
  • 1
Umair A.
  • 6,690
  • 20
  • 83
  • 130

0 Answers0