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

195 lines
6.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<data>
<variable
name="adapter"
type="com.example.as_trak.adapter.LoadListAdapter" />
</data>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".fragment.FlightInfoFragment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="81dp"
android:layout_marginTop="8dp"
android:background="@drawable/main_menu_bg">
<TextView
android:layout_width="82dp"
android:layout_height="match_parent"
android:gravity="center"
android:text="航班号"
android:textSize="18sp" />
<TextView
android:id="@+id/load_main_flight_code"
android:layout_width="0dp"
android:layout_height="40dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
android:layout_weight="1"
android:background="@drawable/select_bg"
android:drawableRight="@mipmap/ic_select"
android:gravity="center"
android:paddingEnd="10dp"
android:textSize="18sp" />
<TextView
android:id="@+id/import_load_info"
android:layout_width="50dp"
android:layout_height="45dp"
android:layout_gravity="center"
android:layout_marginEnd="10dp"
android:background="@drawable/button_update"
android:gravity="center"
android:text="导出"
android:textColor="@color/white"
android:textSize="15sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="2dp"
android:background="@drawable/main_menu_bg">
<TextView
android:layout_width="80dp"
android:layout_height="match_parent"
android:gravity="center"
android:text="航班日期"
android:textSize="18sp" />
<TextView
android:id="@+id/load_main_flight_date"
style="@style/text_title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1" />
<TextView
android:layout_width="80dp"
android:layout_height="match_parent"
android:gravity="center"
android:text="结柜数量"
android:textSize="18sp" />
<TextView
android:id="@+id/load_main_flight_number"
style="@style/text_title"
android:layout_width="85dp"
android:layout_height="match_parent"
android:layout_gravity="center" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="1dp"
android:background="@drawable/main_menu_bg">
<TextView
android:layout_width="120dp"
android:layout_height="match_parent"
android:gravity="center"
android:text="装载单元数量"
android:textSize="18sp" />
<TextView
android:id="@+id/load_count_cargo"
style="@style/text_title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1" />
<TextView
android:layout_width="120dp"
android:layout_height="match_parent"
android:gravity="center"
android:text="装载行李数量"
android:textSize="18sp" />
<TextView
android:id="@+id/load_count_luggage"
style="@style/text_title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_weight="1" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="45dp"
android:layout_marginTop="5dp"
android:background="@drawable/main_menu_bg">
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="装载单元"
android:textSize="18sp" />
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="#e1e1e1" />
<TextView
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="center"
android:text="行李号"
android:textSize="18sp" />
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="#e1e1e1" />
<TextView
android:layout_width="80dp"
android:layout_height="match_parent"
android:gravity="center"
android:text=""
android:textSize="18sp" />
<View
android:layout_width="1dp"
android:layout_height="match_parent"
android:background="#e1e1e1" />
<TextView
android:layout_width="80dp"
android:layout_height="match_parent"
android:gravity="center"
android:text="时间"
android:textSize="18sp" />
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="1dp"
android:adapter="@{adapter}"
app:layoutManager="androidx.recyclerview.widget.LinearLayoutManager" />
</LinearLayout>
</layout>