|
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/activity_main"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:context="com.example.a15530.missphoto.MainActivity">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/contaner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="6">
|
|
</FrameLayout>
|
|
|
|
<TableLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
<TableRow>
|
|
<!-- ??ҳ -->
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<ImageView
|
|
android:id="@+id/IvMainHome"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="2.5"
|
|
android:adjustViewBounds="true"
|
|
android:src="@drawable/home"/>
|
|
<TextView
|
|
android:id="@+id/TvMainHome"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:text="??ҳ"/>
|
|
</LinearLayout>
|
|
<!-- ??ʦ -->
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<ImageView
|
|
android:id="@+id/IvMainClassification"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="2.5"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/camera"/>
|
|
<TextView
|
|
android:id="@+id/TvMainClassificaion"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:text="????"/>
|
|
</LinearLayout>
|
|
<!-- ???? -->
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<ImageView
|
|
android:id="@+id/IvMainPost"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="2.5"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/post"/>
|
|
<TextView
|
|
android:id="@+id/TvMainPost"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:text="????"/>
|
|
</LinearLayout>
|
|
<!-- Լ?? -->
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<ImageView
|
|
android:id="@+id/IvMainRequest"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="2.5"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/request"/>
|
|
<TextView
|
|
android:id="@+id/TvMainRequest"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:text="Լ??"/>
|
|
</LinearLayout>
|
|
<!--?ҵ?-->
|
|
<LinearLayout
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_weight="1"
|
|
android:orientation="vertical">
|
|
<ImageView
|
|
android:id="@+id/IvMainMine"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="2.5"
|
|
android:scaleType="centerInside"
|
|
android:src="@drawable/mine"/>
|
|
<TextView
|
|
android:id="@+id/TvMainMine"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1"
|
|
android:gravity="center"
|
|
android:clickable="true"
|
|
android:text="?ҵ?"/>
|
|
</LinearLayout>
|
|
</TableRow>
|
|
</TableLayout>
|
|
<!--<LinearLayout-->
|
|
<!--android:layout_width="match_parent"-->
|
|
<!--android:layout_height="0dp"-->
|
|
<!--android:background="#fff"-->
|
|
<!--android:layout_weight="1">-->
|
|
<!---->
|
|
<!--</LinearLayout>-->
|
|
|
|
</LinearLayout>
|