buttom_dialog.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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="130dp"
  5. android:background="@color/white"
  6. android:orientation="vertical">
  7. <TextView
  8. android:layout_width="match_parent"
  9. android:layout_height="45dp"
  10. android:gravity="center"
  11. android:text="确定结束本次盘点"
  12. android:textColor="@color/black" />
  13. <RelativeLayout
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content">
  16. <TextView
  17. android:id="@+id/tv_1"
  18. android:layout_width="wrap_content"
  19. android:layout_height="wrap_content"
  20. android:layout_centerVertical="true"
  21. android:text="盘点标题"
  22. android:textColor="@color/black" />
  23. <EditText
  24. android:id="@+id/ed_title"
  25. android:layout_width="match_parent"
  26. android:layout_height="wrap_content"
  27. android:layout_centerVertical="true"
  28. android:layout_marginLeft="5dp"
  29. android:layout_marginRight="12dp"
  30. android:layout_toRightOf="@+id/tv_1"
  31. android:maxLength="20"
  32. android:textColor="@color/black" />
  33. </RelativeLayout>
  34. <LinearLayout
  35. android:layout_width="match_parent"
  36. android:layout_height="wrap_content">
  37. <Button
  38. android:id="@+id/but_cancel"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_marginLeft="10dp"
  42. android:layout_marginRight="10dp"
  43. android:layout_weight="1"
  44. android:text="取 消" />
  45. <Button
  46. android:id="@+id/but_affirm"
  47. android:layout_width="wrap_content"
  48. android:layout_height="wrap_content"
  49. android:layout_marginLeft="10dp"
  50. android:layout_marginRight="10dp"
  51. android:layout_weight="1"
  52. android:text="确 定" />
  53. </LinearLayout>
  54. </LinearLayout>