Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...

Task #614855 » activitymain.xml

洪磊 张, 2016-11-28 03:19 PM

 
<?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>
(2-2/2)