2가지를 질문 드립니다.

 

HTML5Webview 를 이용하여 webview 에서 동영상이 나오게 하는 것 까지는 성공했습니다.

그런데 동영상 실행시 아래 캡쳐 화면처럼 하단 메뉴가 사라지지 않고 나오네요

 

1) 동영상이 실행되면 아래와 같이 동영상 에 [ 뒤로 / 일시정지 / 앞으로 ] 버튼이 잠깐 나왔다가 사라집니다.

    다시 동영상을 선택하고 아래로 내리면 다시 버튼 메뉴가 나오죠!

 

    여기서 [뒤로 / 일시정지 / 앞으로  ] 버튼을 사리지지 않고 계속 나와 있게 할려면 어떤 부분을 설정해 줘야 하나요?

 

SC20120913-005258.jpeg

 

2) 동영상 실행시 아래와 같이 Tabhost 로 만든 메뉴와 또 그위의 메뉴가..

    그대로 나옵니다.

    이것을 동영상 실행시 안보이게 하고 싶은데..

 

    동영상 실행이 해당 메뉴의 id 값을 안보이게 설정해도 안되어서.. 질문을 드립니다.

 

    아래는 xml 파일 입니다.

 

SC20120913-005309.jpeg

 

 

 

///////////////////////////////////////////////////////////////////////////////

<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" >

    <FrameLayout
        android:id="@+id/fullscreen_custom_content"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/black"
        android:visibility="gone" />

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical" >

        <LinearLayout
            android:id="@+id/error_console"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />

        <ProgressBar
            android:id="@+id/Progress_Bar"
            style="?android:attr/progressBarStyleHorizontal"
            android:layout_width="fill_parent"
            android:layout_height="4.0dip"
            android:max="100"
            android:progress="0"
            android:progressDrawable="@drawable/webview_progressbar" />

        <FrameLayout
            android:id="@+id/main_content"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight="1"/>

        <include
            android:id="@+id/web_boolbar"
            layout="@layout/blog_webtoolbar" />
    </LinearLayout>

</FrameLayout>

///////////////////////////////////////////////////////////////////////////////

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/webtoolbar"
    android:layout_width="fill_parent"
    android:layout_height="40.0dip" >

    <RelativeLayout
        android:layout_width="fill_parent"
        android:layout_height="40.0dip"
        android:background="@drawable/bg_search_bot_bar" >

        <ImageButton
            android:id="@+id/btn_webtoolbar_back"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginLeft="6.669983dip"
            android:background="@drawable/btn_menu_back"
            android:contentDescription="@string/icon_back"
            android:onClick="btnOnClick" />

        <ImageButton
            android:id="@+id/btn_webtoolbar_front"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10.0dip"
            android:layout_toRightOf="@id/btn_webtoolbar_back"
            android:background="@drawable/btn_menu_front"
            android:contentDescription="@string/icon_front"
            android:onClick="btnOnClick" />

        <ImageButton
            android:id="@+id/btn_webtoolbar_refresh"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10.0dip"
            android:layout_toRightOf="@id/btn_webtoolbar_front"
            android:background="@drawable/btn_menu_refresh"
            android:contentDescription="@string/icon_refresh"
            android:onClick="btnOnClick" />

        <ImageButton
            android:id="@+id/btn_webtoolbar_gotop"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10.0dip"
            android:layout_toRightOf="@id/btn_webtoolbar_refresh"
            android:background="@drawable/btn_menu_gotop"
            android:contentDescription="@string/icon_gotop"
            android:onClick="btnOnClick" />

        <ImageButton
            android:id="@+id/btn_webtoolbar_share"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10.0dip"
            android:layout_toLeftOf="@+id/btn_webtoolbar_capture"
            android:background="@drawable/btn_menu_share"
            android:contentDescription="@string/icon_share"
            android:onClick="btnOnClick" />

        <ImageButton
            android:id="@+id/btn_webtoolbar_capture"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:layout_marginLeft="10.0dip"
            android:layout_toLeftOf="@+id/btn_webtoolbar_urlcopy"
            android:background="@drawable/btn_menu_capture"
            android:contentDescription="@string/icon_capture"
            android:onClick="btnOnClick" />

        <ImageButton
            android:id="@+id/btn_webtoolbar_urlcopy"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"
            android:layout_centerVertical="true"
            android:background="@drawable/btn_menu_urlcopy"
            android:contentDescription="@string/icon_urlcopy"
            android:onClick="btnOnClick" />

        <RelativeLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerInParent="true"
            android:layout_toLeftOf="@id/btn_webtoolbar_share"
            android:layout_toRightOf="@id/btn_webtoolbar_gotop" >

            <ImageView
                android:id="@+id/bg_line"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:contentDescription="@string/icon_line"
                android:src="@drawable/bg_line" />
        </RelativeLayout>
    </RelativeLayout>

    <LinearLayout
        android:id="@+id/bodyFrameLayout"
        android:layout_width="780.0dip"
        android:layout_height="40.0dip"
        android:orientation="vertical" />

</RelativeLayout>