1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:orientation="vertical"
- android:paddingLeft="10dp"
- android:paddingRight="10dp">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="45dp"
- android:gravity="center"
- android:text="化学品查询"
- android:textColor="@color/black" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="45dp"
- android:layout_marginTop="10dp">
- <TextView
- android:id="@+id/tv_1"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="名 称:"
- android:textColor="@color/black" />
- <EditText
- android:id="@+id/ed_name"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_toRightOf="@+id/tv_1"
- android:hint="请输入化学品名称"
- android:textColor="@color/black"
- android:textSize="14sp" />
- </RelativeLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="45dp"
- android:layout_marginTop="10dp">
- <TextView
- android:id="@+id/tv_2"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="CAS号:"
- android:textColor="@color/black" />
- <EditText
- android:id="@+id/cas_no"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_toRightOf="@+id/tv_2"
- android:hint="请输入CAS号:"
- android:textColor="@color/black"
- android:textSize="14sp" />
- </RelativeLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="45dp"
- android:layout_marginBottom="10dp">
- <Button
- android:id="@+id/but_cancel"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="取 消" />
- <Button
- android:id="@+id/but_affirm"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:text="确 定" />
- </LinearLayout>
- </LinearLayout>
|