ed_cont_th_dialog.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:layout_gravity="center"
  6. android:orientation="vertical">
  7. <RelativeLayout
  8. android:layout_width="300dp"
  9. android:layout_height="wrap_content"
  10. android:layout_gravity="center"
  11. android:layout_marginTop="10dp"
  12. android:background="@drawable/bg_shu_ru_kuang_twoe">
  13. <EditText
  14. android:id="@+id/edCont"
  15. android:layout_width="match_parent"
  16. android:layout_height="30dp"
  17. android:layout_centerVertical="true"
  18. android:background="@null"
  19. android:hint="化学品名/拼音首字母/CAS码"
  20. android:paddingLeft="10dp"
  21. android:textSize="12sp" />
  22. </RelativeLayout>
  23. <Button
  24. android:id="@+id/comt"
  25. android:layout_width="wrap_content"
  26. android:layout_height="30dp"
  27. android:layout_alignParentRight="true"
  28. android:layout_gravity="center"
  29. android:layout_marginTop="20dp"
  30. android:background="@drawable/bg_sou_suo_page"
  31. android:text="确定"
  32. android:textColor="@color/white" />
  33. </LinearLayout>