parent
8579c82607
commit
c4d90ae53f
@ -0,0 +1,48 @@
|
||||
<?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:background="#E8E8E8"
|
||||
android:orientation="horizontal"
|
||||
android:baselineAligned="false">
|
||||
<!--首页-->
|
||||
<LinearLayout
|
||||
android:id="@+id/content_index"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="首页"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:contentDescription="TODO"
|
||||
android:src="@drawable/p1" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/content_index1"
|
||||
android:layout_width = "0dp"
|
||||
android:layout_height = "wrap_content"
|
||||
android:layout_weight ="1"
|
||||
android:orientation = "vertical">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="首页"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="100dp"
|
||||
android:contentDescription="TODO"
|
||||
android:src="@drawable/p1" />
|
||||
</LinearLayout>
|
Loading…
Reference in new issue