| | |
| | | <?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"
|
| | | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
| | | android:orientation="vertical"
|
| | | android:layout_width="fill_parent"
|
| | | android:layout_height="fill_parent"
|
| | | >
|
| | | <ImageView
|
| | | android:id="@+id/test_img"
|
| | | android:layout_width="match_parent"
|
| | | android:layout_height="match_parent"
|
| | | tools:context="com.bsk.zhangbo.demoforbsk.ui.activity.TestARGB8888Actiivty">
|
| | |
|
| | | <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>
|
| | | android:scaleType="fitXY"/>
|
| | | </LinearLayout>
|