| | |
| | | <?xml version="1.0" encoding="utf-8"?>
|
| | | <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| | | xmlns:tools="http://schemas.android.com/tools"
|
| | | android:id="@+id/activity_test_argb_8888_actiivty"
|
| | | android:layout_width="match_parent"
|
| | | android:layout_height="match_parent"
|
| | | tools:context="com.bsk.zhangbo.demoforbsk.ui.activity.TestARGB8888Actiivty">
|
| | | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| | | android:orientation="vertical"
|
| | | android:layout_width="fill_parent"
|
| | | android:layout_height="fill_parent"
|
| | | >
|
| | | <!--<LinearLayout-->
|
| | | <!--android:orientation="horizontal"-->
|
| | | <!--android:layout_width="wrap_content"-->
|
| | | <!--android:layout_height="wrap_content"-->
|
| | | <!--android:layout_margin="8dip"-->
|
| | | <!-->-->
|
| | | <!--<TextView-->
|
| | | <!--android:layout_width="fill_parent"-->
|
| | | <!--android:layout_height="wrap_content"-->
|
| | | <!--android:text="Please select the media source"-->
|
| | | <!--/>-->
|
| | | <!--<Spinner-->
|
| | | <!--android:id="@+id/source_spinner"-->
|
| | | <!--android:layout_width="fill_parent"-->
|
| | | <!--android:layout_height="wrap_content"-->
|
| | | <!--android:text="Media source"-->
|
| | | <!--/>-->
|
| | | <!--</LinearLayout>-->
|
| | |
|
| | | <SurfaceView
|
| | | android:id="@+id/surfaceview1"
|
| | | android:layout_width="640px"
|
| | | android:layout_height="480px"/>
|
| | | <!--<ImageView-->
|
| | | <!--android:id="@+id/test_img"-->
|
| | | <!--android:layout_width="match_parent"-->
|
| | | <!--android:layout_height="match_parent"-->
|
| | | <!--android:scaleType="fitXY"/>-->
|
| | | <Button
|
| | | android:id="@+id/btn"
|
| | | android:text="play"
|
| | | android:layout_alignParentBottom="true"
|
| | | android:layout_width="match_parent"
|
| | | android:layout_height="wrap_content" />
|
| | | </RelativeLayout>
|
| | | <LinearLayout
|
| | | android:orientation="horizontal"
|
| | | android:layout_width="wrap_content"
|
| | | android:layout_height="wrap_content"
|
| | | android:layout_margin="8dip"
|
| | | >
|
| | | <Button
|
| | | android:id="@+id/start_native"
|
| | | android:text="Start/Pause"
|
| | | android:layout_width="fill_parent"
|
| | | android:layout_height="wrap_content"
|
| | | />
|
| | | <Button
|
| | | android:id="@+id/rewind_native"
|
| | | android:text="Rewind"
|
| | | android:layout_width="fill_parent"
|
| | | android:layout_height="wrap_content"
|
| | | />
|
| | | </LinearLayout>
|
| | |
|
| | | <LinearLayout
|
| | | android:orientation="horizontal"
|
| | | android:layout_width="wrap_content"
|
| | | android:layout_height="wrap_content"
|
| | | android:layout_margin="8dip"
|
| | | >
|
| | | <SurfaceView
|
| | | android:id="@+id/surfaceview1"
|
| | | android:layout_width="match_parent"
|
| | | android:layout_height="match_parent"
|
| | | />
|
| | | </LinearLayout>
|
| | |
|
| | | <!--<LinearLayout-->
|
| | | <!--android:orientation="horizontal"-->
|
| | | <!--android:layout_width="wrap_content"-->
|
| | | <!--android:layout_height="wrap_content"-->
|
| | | <!--android:layout_margin="8dip"-->
|
| | | <!-->-->
|
| | | <!--<RadioButton-->
|
| | | <!--android:id="@+id/radio2"-->
|
| | | <!--android:layout_width="wrap_content"-->
|
| | | <!--android:layout_height="wrap_content"-->
|
| | | <!--android:padding="10dip"-->
|
| | | <!--/>-->
|
| | | <!--<com.bsk.zhangbo.demoforbsk.widget.MyGLSurfaceView-->
|
| | | <!--android:id="@+id/glsurfaceview1"-->
|
| | | <!--android:layout_width="640px"-->
|
| | | <!--android:layout_height="480px"-->
|
| | | <!--/>-->
|
| | | <!--</LinearLayout>-->
|
| | |
|
| | | </LinearLayout>
|