newly_added_dialog.xml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <LinearLayout
  6. android:id="@+id/lin1"
  7. android:layout_width="700dp"
  8. android:layout_height="300dp"
  9. android:layout_centerInParent="true"
  10. android:layout_centerVertical="true"
  11. android:background="@drawable/bg_shu_ru_kuang"
  12. android:orientation="vertical">
  13. <TextView
  14. android:layout_width="wrap_content"
  15. android:layout_height="40dp"
  16. android:layout_gravity="center"
  17. android:layout_marginTop="10dp"
  18. android:gravity="center"
  19. android:text="选择厂家"
  20. android:textColor="@color/black"
  21. android:textSize="18sp" />
  22. <androidx.recyclerview.widget.RecyclerView
  23. android:layout_width="match_parent"
  24. android:layout_height="wrap_content"
  25. android:layout_marginLeft="60dp"
  26. android:layout_marginRight="60dp"
  27. android:paddingBottom="10dp" />
  28. </LinearLayout>
  29. <Button
  30. android:layout_width="110dp"
  31. android:layout_height="32dp"
  32. android:layout_below="@+id/lin1"
  33. android:layout_centerInParent="true"
  34. android:layout_marginTop="10dp"
  35. android:layout_marginRight="15dp"
  36. android:background="@drawable/bg_closes"
  37. android:text="关闭" />
  38. </RelativeLayout>