ExampleMediaController icon indicating copy to clipboard operation
ExampleMediaController copied to clipboard

Inside scrollview the media controls not even displayed..

Open venkateshandroid opened this issue 11 years ago • 1 comments

While put customview inside the scrollview like given below

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:fillViewport="false" >

<RelativeLayout
    android:id="@+id/video_container"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@android:color/black"
    android:gravity="center_horizontal|center_vertical"
    android:orientation="vertical" >

    <FrameLayout
        android:id="@+id/videoSurfaceContainer"
        android:layout_width="match_parent"
        android:layout_height="160dp" >

        <SurfaceView
            android:id="@+id/videoSurface"
            android:layout_width="wrap_content"
            android:layout_height="160dp" />
    </FrameLayout>

    <FrameLayout
        android:layout_width="match_parent"
        android:layout_height="200dp"
        android:layout_below="@+id/videoSurfaceContainer"
        android:background="#FFFFFF" >
    </FrameLayout>
</RelativeLayout>

No media controls are displayed

venkateshandroid avatar Feb 05 '14 07:02 venkateshandroid

Hello @venkateshandroid,

I had same problem,

Have you find out the solution?

Could you tell me how to show Media Control?

Thank

MrTranduchuy avatar Aug 31 '14 15:08 MrTranduchuy