popup_receipt_qty_select.xml 2.8 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:background="@color/white"
    android:layout_height="wrap_content"
    tools:ignore="MissingDefaultResource">

    <TextView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center"
        android:paddingLeft="10dp"
        android:visibility="gone"
        android:textSize="@dimen/bigFont"
        android:textColor="@color/black"
        android:text="请确认收货数量" />

    <LinearLayout
        android:id="@+id/search_items"
        android:orientation="vertical"
        android:layout_height="wrap_content"
        android:layout_width="match_parent">

        <TextView
            android:id="@+id/materialCodeView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:textSize="@dimen/bigFont"
            android:textColor="@color/black"
            android:text="TextView" />
        <TextView
            android:id="@+id/materialNameView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:gravity="center"
            android:textColor="@color/black"
            android:textSize="@dimen/bigFont"
            android:text="TextView" />
        <NumberPicker
            android:layout_width="match_parent"
            android:id="@+id/qtyPicker"
            android:layout_height="wrap_content"/>
    </LinearLayout>

    <FrameLayout
        android:layout_marginTop="15dp"
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <Button
            android:id="@+id/resetBtn"
            android:layout_width="120dp"
            android:layout_height="wrap_content"
            android:layout_gravity="left"
            android:layout_marginLeft="20dp"
            android:background="@drawable/red_button_bg"
            android:text="@string/btn_cancel"
            android:textSize="@dimen/bigFont" />

        <Button
            android:id="@+id/ensureBtn"
            android:layout_width="120dp"
            android:layout_height="wrap_content"
            android:layout_gravity="right"
            android:layout_marginRight="20dp"
            android:background="@drawable/red_button_bg"
            android:text="@string/btn_ensure"
            android:textSize="@dimen/bigFont" />

    </FrameLayout>

    <LinearLayout
        android:layout_marginTop="15dp"
        android:background="@color/tobe_color"
        android:layout_width="match_parent"
        android:layout_height="2px"/>
</LinearLayout>