Browse Source

录入布局

master
lh 7 years ago
parent
commit
e582e4a0bc
1 changed files with 48 additions and 4 deletions
  1. +48
    -4
      app/src/main/res/layout/act_weightinfos.xml

+ 48
- 4
app/src/main/res/layout/act_weightinfos.xml View File

@ -1,9 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:background="@color/greyf4f4f4"
android:layout_width="match_parent"
android:layout_height="match_parent">
<include layout="@layout/include_tool_bar"/>
android:layout_height="match_parent"
android:background="@color/greyf4f4f4"
android:orientation="vertical">
<include layout="@layout/include_tool_bar" />
<EditText
android:id="@+id/et_grossweight"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_10"
android:layout_marginRight="@dimen/dp_10"
android:layout_marginTop="@dimen/dp_30"
android:background="@drawable/shape_bg"
android:gravity="center_horizontal"
android:hint="请输入毛重"
android:inputType="numberDecimal"
android:maxLines="1"
android:padding="@dimen/dp_12" />
<EditText
android:id="@+id/et_tare"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/dp_10"
android:layout_marginRight="@dimen/dp_10"
android:layout_marginTop="@dimen/dp_40"
android:background="@drawable/shape_bg"
android:gravity="center_horizontal"
android:hint="请输入皮重"
android:inputType="numberDecimal"
android:maxLines="1"
android:padding="@dimen/dp_12" />
<View
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<TextView
android:id="@+id/tv_commit_check"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/colorAccent"
android:gravity="center_horizontal"
android:padding="@dimen/dp_12"
android:text="提交审核"
android:textColor="@color/white" />
</LinearLayout>

Loading…
Cancel
Save