chenke
2017-07-20 41bc5a329c73e3b43695f73f11c47c97c44cc1b6
VisitFace/RtspNativeCodec/app/src/main/res/layout/main.xml
@@ -25,35 +25,35 @@
    </LinearLayout>
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dip"
        >
        android:orientation="horizontal">
        <Button
            android:id="@+id/start_native"
            android:text="@string/start_native"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            />
            android:text="@string/start_native" />
        <Button
            android:id="@+id/rewind_native"
            android:text="@string/rewind_native"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            />
            android:text="@string/rewind_native" />
        <ImageView
            android:id="@+id/addface_image"
            android:layout_width="128px"
            android:layout_height="128px"
            android:scaleType="fitCenter"
            android:src="@android:drawable/ic_input_add" />
        <Button
            android:id="@+id/addface_native"
            android:text="@string/addface_native"
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            />
            android:text="@string/addface_native" />
    </LinearLayout>
@@ -61,45 +61,66 @@
    <TextView
        android:id="@+id/textView1"
        android:layout_width="match_parent"
        android:layout_height="90dp"
        android:layout_height="87dp"
        android:text="TextView" />
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dip"
        >
        android:orientation="horizontal">
        <RadioButton
            android:id="@+id/radio1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="10dip"
        />
            android:padding="10dip" />
        <SurfaceView
            android:id="@+id/surfaceview1"
            android:layout_width="640px"
            android:layout_height="480px" />
        <SurfaceView
            android:id="@+id/surfaceview2"
            android:layout_width="640px"
            android:layout_height="480px" />
        <SurfaceView
            android:id="@+id/surfaceview3"
            android:layout_width="320px"
            android:layout_height="240px" />
    </LinearLayout>
    <LinearLayout
        android:orientation="horizontal"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_margin="8dip"
        >
        android:orientation="horizontal">
        <RadioButton
            android:id="@+id/radio2"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="10dip"
        />
            android:padding="10dip" />
        <com.example.nativecodec.MyGLSurfaceView
            android:id="@+id/glsurfaceview1"
            android:layout_width="640px"
            android:layout_height="480px"
            />
            android:layout_height="480px" />
        <!--<SurfaceView
            android:id="@+id/surfaceview2"
            android:layout_width="640px"
            android:layout_height="480px" />-->
    </LinearLayout>
    <SurfaceView
        android:id="@+id/surfaceViewDecoder1"
        android:layout_width="1920px"
        android:layout_height="1080px"
        android:visibility="visible" />
</LinearLayout>