You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

102 lines
4.2 KiB

3 years ago
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".IndexFragment">
<!-- TODO: Update blank fragment layout -->
3 years ago
<LinearLayout
3 years ago
android:layout_width="match_parent"
android:layout_height="match_parent"
3 years ago
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="200dp"
android:src="@drawable/index_view"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:id="@+id/raise_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:focusable="true"
android:text="发起代办任务" />
<Button
android:id="@+id/accept_button"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_weight="1"
android:focusable="true"
android:text="接受待办任务" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="0.33">
<ImageButton
android:layout_width="120dp"
android:layout_height="80dp"
android:src="@drawable/market"
android:layout_gravity="center_horizontal"
android:id="@+id/market_button"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="二手市场"
android:textSize="20dp"
android:layout_gravity="center_horizontal"/>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="0.33">
<ImageButton
android:layout_width="120dp"
android:layout_height="80dp"
android:src="@drawable/losing"
android:layout_gravity="center_horizontal"
android:id="@+id/losing_button"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="失物招领"
android:textSize="20dp"
android:layout_gravity="center_horizontal"/>
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_weight="0.33">
<ImageButton
android:layout_width="120dp"
android:layout_height="80dp"
android:src="@drawable/college_"
android:layout_gravity="center_horizontal"
android:id="@+id/college_buttion"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="校园圈子"
android:textSize="20dp"
android:layout_gravity="center_horizontal"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
3 years ago
</FrameLayout>