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.

132 lines
4.2 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">
<data>
</data>
<LinearLayout
android:layout_width="400dp"
android:layout_height="wrap_content"
android:background="@drawable/main_menu_bg"
android:orientation="vertical">
<TextView
android:id="@+id/return_dialog_dis"
style="@style/text_info"
android:layout_width="400dp"
android:layout_height="45dp"
android:drawableRight="@mipmap/ic_cha"
android:paddingLeft="20dp"
android:paddingRight="20dp"
android:text="添加航班信息" />
<View
android:layout_width="match_parent"
android:layout_height="2dp"
android:background="#e1e1e1" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginStart="10dp"
android:layout_marginTop="12dp"
android:layout_marginEnd="10dp">
<TextView
style="@style/text_title"
android:layout_width="100dp"
android:layout_height="match_parent"
android:text="航班号:" />
<EditText
android:id="@+id/dialog_flight_code"
style="@style/text_info"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textCapCharacters"
android:singleLine="true" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="48dp"
android:layout_marginStart="10dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="10dp">
<TextView
style="@style/text_title"
android:layout_width="100dp"
android:layout_height="match_parent"
android:text="目的地代码:" />
<EditText
android:id="@+id/dialog_flight_num"
style="@style/text_info"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:inputType="textCapCharacters"
android:singleLine="true"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="10dp">
<TextView
style="@style/text_title"
android:layout_width="100dp"
android:layout_height="match_parent"
android:text="航班日期:" />
<DatePicker
android:id="@+id/dialog_datepicker"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:datePickerMode="spinner" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="10dp">
<TextView
style="@style/text_title"
android:layout_width="100dp"
android:layout_height="match_parent"
android:text="起飞时间:" />
<TimePicker
android:id="@+id/dialog_timepicker"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:minHeight="45dp"
android:timePickerMode="spinner" />
</LinearLayout>
<Button
android:id="@+id/dialog_return_true"
android:layout_width="150dp"
android:layout_height="48dp"
android:layout_gravity="center"
android:layout_margin="10dp"
android:text="保存" />
</LinearLayout>
</layout>