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>
    <FrameLayout
    android: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/d217c15e-0126-44e0-a074-7bbb968588a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to