^

Display a Video Centered (in XML)

Article 45 in Android-Java

2020-09-02 06:47:56 from bugfish
Display a Video Centered (in XML)
Android-Java / XML Styling
Last Review on: 2021-07-31 08:19:48 | Hits: 282
<FrameLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_constraintTop_toBottomOf="@+id/main_topbar">

    <VideoView
        android:id="@+id/videoViewMain"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_gravity="center" />

</FrameLayout>
I do not guarantee the reliability of the information given here, the code described on this page is executed at your own risk and in the event of damage or other unforeseeable consequences I am in no way responsible or liable.
Comment Section
Currently 0 Upvotes!
captcha image

System - 2021-01-01 18:21:32
We appreciate comments on our site!

Theme
1
This Website is using Session Cookies for Site Functionality and AWStats.