<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout 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"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:focusable="true"
|
android:background="@color/bgcolor"
|
android:focusableInTouchMode="true"
|
android:orientation="vertical"
|
tools:context=".TakeActivity">
|
<RelativeLayout
|
android:layout_width="match_parent"
|
android:layout_height="0dp"
|
android:layout_weight="5">
|
<ImageButton
|
android:layout_width="80dp"
|
android:layout_height="80dp"
|
android:src="@mipmap/fanhui"
|
android:scaleType="centerCrop"
|
android:onClick="backMian"
|
android:alpha="1"
|
android:background="@drawable/back_go_button"
|
android:layout_centerVertical="true"
|
android:layout_alignParentRight="true"
|
android:layout_gravity="center"
|
/>
|
<RelativeLayout
|
android:id="@+id/edttxmr"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:layout_centerHorizontal="true"
|
android:layout_marginTop="100dp">
|
<EditText
|
android:id="@+id/edt_borrow_case_number"
|
android:layout_width="500dp"
|
android:layout_height="80dp"
|
android:gravity="center"
|
android:background="@null"
|
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_marginTop="151dp"
|
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>
|