up down votefavorite 
<http://stackoverflow.com/questions/42106546/overlaying-in-button-and-video-viewfull-screen#>

In the below code while playing video(full screen) gap is forming because 
of button to achive with no gap and our custom views over video view or 
Using third party Player will fix the issue to achive like TED APP video 
palyer with icons added functionality is to create custom mediaPlayer or 
tweak the existed Medial Player Controller

i have used all Relative layout ,frame layout ,Linearlayout


<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android";
          xmlns:tools="http://schemas.android.com/tools";
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@color/textColorPrimary"
          android:orientation="horizontal">

<VideoView
    android:id="@+id/VideoView"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent>    
</VideoView><FrameLayoutandroid:layout_width="wrap_content"android:layout_height="wrap_content"><ImageButton
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:src="@drawable/ic_action_name"
    android:id="@+id/share"
    android:backgroundTint="@color/textColorPrimary"/>

  </FrameLayout>
</LinearLayout>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/68994061-111b-4e58-84b7-45956120ec58%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to