80,351
社区成员
发帖
与我相关
我的任务
分享
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout android:layout_width="fill_parent" android:layout_height="fill_parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<LinearLayout android:orientation="horizontal" android:id="@+id/bottom" android:background="@drawable/botton_background" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_alignParentBottom="true">
<Button android:id="@+id/btn_linear_left" android:background="@drawable/linear_left" android:layout_width="wrap_content" android:layout_height="wrap_content" />
...
</LinearLayout>
<LinearLayout android:gravity="center" android:orientation="vertical" android:id="@+id/midle" android:background="@drawable/bottom_midle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@id/bottom">
<LinearLayout android:orientation="horizontal" android:id="@+id/control_linear1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="3.0dip">
<Button android:id="@+id/btn_control_up" android:background="@drawable/control_up" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="9.0dip" />
...
</LinearLayout>
<LinearLayout android:orientation="horizontal" android:id="@+id/control_linear2" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginBottom="2.0dip">
<Button android:id="@+id/btn_control_down" android:background="@drawable/control_down" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginLeft="9.0dip" />
...
</LinearLayout>
</LinearLayout>
<TextView android:textSize="20.0px" android:gravity="center" android:id="@+id/ip_text" android:background="@drawable/text_background" android:layout_width="fill_parent" android:layout_height="40.0px" />
<TextView android:textSize="15.0px" android:id="@+id/help_msg" android:background="@drawable/text_midle" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_above="@id/midle" />
<com.xxx.xxx.VideoView android:id="@+id/xx_view" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="5.0dip" android:layout_above="@id/help_msg" android:layout_below="@id/ip_text" />
</RelativeLayout>