80,349
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<SurfaceView
android:layout_width="match_parent" android:layout_height="wrap_content"
android:background="@drawable/boud" android:id="@+id/sf13"
android:layout_weight="4">
<!-- drawable/boud"是我自定义的背景文件,作用是显示SurfaceView的边界 -->
</SurfaceView>
<SurfaceView
android:layout_width="match_parent" android:layout_height="wrap_content"
android:background="@drawable/boud" android:id="@+id/sf15"
android:layout_weight="4">
</SurfaceView>
<Button android:layout_width="match_parent" android:layout_height="wrap_content" android:id="@+id/bt22"
android:layout_weight="1"/>
</LinearLayout>