CELABUJU
来源:互联网 发布:全国软件人才证书 编辑:程序博客网 时间:2024/09/21 06:18
<android.support.v4.widget.DrawerLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/dl"
>
<LinearLayout
android:layout_gravity="left"
android:layout_width="300dp"
android:orientation="vertical"
android:background="#2d7bda"
android:layout_height="match_parent">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@drawable/a"/>
<TextView
android:id="@+id/tv0"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="韩海"/>
<TextView
android:id="@+id/tv01"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="月考练习"/>
<TextView
android:id="@+id/tv1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="练习第一次"/>
<TextView
android:id="@+id/tv2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/tv1"
android:text="练习第二次"/>
<TextView
android:id="@+id/tv3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/tv2"
android:text="练习第三次"/>
<TextView
android:id="@+id/tv4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/tv3"
android:text="练习第四次"/>
<TextView
android:id="@+id/tv5"
android:layout_width="match_parent"
android:layout_below="@id/tv4"
android:layout_height="wrap_content"
android:text="练习第五次"/>
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<LinearLayout
android:id="@+id/ll"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="horizontal">
<Button
android:id="@+id/sy"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="首页" />
<Button
android:id="@+id/qy"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="详情页" />
</LinearLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/ll"
android:id="@+id/fl"></FrameLayout>
</RelativeLayout>
</android.support.v4.widget.DrawerLayout>
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/dl"
>
<LinearLayout
android:layout_gravity="left"
android:layout_width="300dp"
android:orientation="vertical"
android:background="#2d7bda"
android:layout_height="match_parent">
<ImageView
android:layout_width="100dp"
android:layout_height="100dp"
android:src="@drawable/a"/>
<TextView
android:id="@+id/tv0"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="韩海"/>
<TextView
android:id="@+id/tv01"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="月考练习"/>
<TextView
android:id="@+id/tv1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="练习第一次"/>
<TextView
android:id="@+id/tv2"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/tv1"
android:text="练习第二次"/>
<TextView
android:id="@+id/tv3"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/tv2"
android:text="练习第三次"/>
<TextView
android:id="@+id/tv4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@id/tv3"
android:text="练习第四次"/>
<TextView
android:id="@+id/tv5"
android:layout_width="match_parent"
android:layout_below="@id/tv4"
android:layout_height="wrap_content"
android:text="练习第五次"/>
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
>
<LinearLayout
android:id="@+id/ll"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:orientation="horizontal">
<Button
android:id="@+id/sy"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="首页" />
<Button
android:id="@+id/qy"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="详情页" />
</LinearLayout>
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/ll"
android:id="@+id/fl"></FrameLayout>
</RelativeLayout>
</android.support.v4.widget.DrawerLayout>
阅读全文
0 0