<LinearLayout 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"
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
android:background="@color/bgcolor"
|
android:orientation="vertical">
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="1"
|
android:orientation="horizontal">
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_weight="1"
|
android:layout_height="match_parent"
|
android:background="@color/DarkGray"
|
android:layout_margin="5dp"
|
android:orientation="vertical">
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="5">
|
<RelativeLayout
|
android:id="@+id/edttxmr"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:layout_marginTop="20dp">
|
<EditText
|
android:id="@+id/edt_borrow_case_number"
|
android:layout_width="400dp"
|
android:layout_height="80dp"
|
android:gravity="center"
|
android:background="@drawable/round_editstyle"
|
android:hint="单号后四位"
|
android:textColorHint="@color/white"
|
android:textAlignment="center"
|
android:textColor="@color/white"
|
android:textSize="30dp" />
|
</RelativeLayout>
|
<TableLayout
|
android:layout_width="600dp"
|
android:layout_height="480dp"
|
android:layout_alignParentBottom ="true"
|
android:layout_centerHorizontal="true"
|
android:layout_margin="5dp"
|
android:stretchColumns="*">
|
<TableRow
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_weight="2">
|
<Button
|
android:id="@+id/borrow_bt1"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_left"
|
android:text="1"
|
android:textSize="30sp"/>
|
<Button
|
android:id="@+id/borrow_bt2"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_mid"
|
android:text="2"
|
android:textSize="30sp"/>
|
<Button
|
android:id="@+id/borrow_bt3"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_right"
|
android:text="3"
|
android:textSize="30sp"/>
|
</TableRow>
|
<TableRow
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_weight="2">
|
|
<Button
|
android:id="@+id/borrow_bt4"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_left"
|
android:text="4"
|
android:textSize="30sp"/>
|
|
<Button
|
android:id="@+id/borrow_bt5"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_mid"
|
android:text="5"
|
android:textSize="30sp"/>
|
|
<Button
|
android:id="@+id/borrow_bt6"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_right"
|
android:text="6"
|
android:textSize="30sp"/>
|
</TableRow>
|
|
<TableRow
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_weight="2">
|
|
<Button
|
android:id="@+id/borrow_bt7"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_left"
|
android:text="7"
|
android:textSize="30sp"/>
|
|
<Button
|
android:id="@+id/borrow_bt8"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_mid"
|
android:text="8"
|
android:textSize="30sp"/>
|
|
<Button
|
android:id="@+id/borrow_bt9"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_right"
|
android:text="9"
|
android:textSize="30sp"/>
|
</TableRow>
|
|
<TableRow
|
android:layout_width="0dp"
|
android:layout_height="0dp"
|
android:layout_weight="2">
|
|
<Button
|
android:id="@+id/borrow_bt_delete"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_left"
|
android:text="DEL"
|
android:textSize="30sp"/>
|
|
<Button
|
android:id="@+id/borrow_bt0"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_mid"
|
android:text="0"
|
android:textSize="30sp"/>
|
|
<Button
|
android:id="@+id/borrow_bt_confirm"
|
android:layout_width="wrap_content"
|
android:layout_height="120dp"
|
android:background="@drawable/number_button_right"
|
android:gravity="center"
|
android:text="OK"
|
android:textSize="30sp"/>
|
</TableRow>
|
</TableLayout>
|
</RelativeLayout>
|
</LinearLayout>
|
<LinearLayout
|
android:layout_width="0dp"
|
android:layout_height="match_parent"
|
android:background="@color/DarkGray"
|
android:layout_margin="5dp"
|
android:layout_weight="1"
|
android:orientation="vertical">
|
|
<com.bin.david.form.core.SmartTable
|
android:id="@+id/table"
|
android:layout_margin="10dp"
|
android:layout_marginTop="1dp"
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="8"/>
|
<LinearLayout
|
android:layout_width="match_parent"
|
android:layout_height="80dp"
|
android:orientation="horizontal">
|
<TextView
|
android:layout_width="100dp"
|
android:layout_height="match_parent"
|
android:textColor="@color/white"
|
android:gravity="right|center_vertical"
|
android:textSize="30dp"
|
android:text="格口:"/>
|
<TextView
|
android:layout_width="150dp"
|
android:layout_height="match_parent"
|
android:textColor="@color/cheng"
|
android:gravity="center"
|
android:textSize="50dp"
|
android:text="15"/>
|
<TextView
|
android:layout_width="100dp"
|
android:layout_height="match_parent"
|
android:textColor="@color/white"
|
android:textSize="30dp"
|
android:gravity="right|center_vertical"
|
android:text="订单:"/>
|
<TextView
|
android:layout_width="300dp"
|
android:layout_height="match_parent"
|
android:textColor="@color/white"
|
android:textSize="30dp"
|
android:gravity="center"
|
android:text="20230568458912"/>
|
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|
</LinearLayout>
|