wan_inclue_viewstub_extensionbar.xml 3.4 KB
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layoutAnimation="@anim/wan_extensionbar_appearance_anim_port">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@color/hnssn_color_gray_title"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/hnssn_dimen_extensionbar_content_title_port_height">

            <TextView
                android:id="@+id/activity_extendsionbar_content_title"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:clickable="true"
                android:gravity="center"
                android:text="@string/hnssn_sdk_extensionbar_title"
                android:textColor="@android:color/black"
                android:textSize="@dimen/px_30" />

            <ImageButton
                android:id="@+id/activity_extendsionbar_content_goback"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerVertical="true"
                android:layout_marginLeft="@dimen/px_35"
                android:background="@android:color/transparent"
                android:src="@drawable/wan_icon_goback_port"
                android:visibility="gone" />

            <View
                android:layout_width="match_parent"
                android:layout_height="@dimen/px_2"
                android:layout_alignParentBottom="true"
                android:background="@color/wan669_split_title_color" />
        </RelativeLayout>

        <ListView
            android:id="@+id/activity_extendsionbar_content_local"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:background="#fff5f5f5"
            android:divider="@android:color/transparent"
            android:dividerHeight="10dp"
            android:overScrollMode="never"
            android:padding="10dp"
            android:scrollbars="none" />

        <FrameLayout
            android:id="@+id/activity_extendsionbar_content_remote"
            android:layout_width="match_parent"
            android:layout_height="match_parent">

            <WebView
                android:id="@+id/activity_extendsionbar_content_webview"
                android:layout_width="match_parent"
                android:layout_height="match_parent"
                android:layout_marginRight="@dimen/px_1"
                android:background="@android:color/white"
                android:overScrollMode="ifContentScrolls"
                android:scrollbars="none" />

            <ProgressBar
                android:id="@+id/activity_extendsionbar_content_progressbar"
                style="?android:attr/progressBarStyleHorizontal"
                android:layout_width="match_parent"
                android:layout_height="@dimen/px_5"
                android:indeterminateOnly="false"
                android:max="100"
                android:progressDrawable="@drawable/wan_extensionbar_content_progressbar"
                android:visibility="gone" />
        </FrameLayout>

    </LinearLayout>

</FrameLayout>