layout_sub_module.xml 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:tools="http://schemas.android.com/tools"
  4. android:layout_width="match_parent"
  5. android:layout_height="match_parent"
  6. android:layout_gravity="center_vertical"
  7. android:background="@color/color_blue_800"
  8. android:orientation="vertical"
  9. tools:context=".screen.main.MainFragment">
  10. <androidx.recyclerview.widget.RecyclerView
  11. android:id="@+id/rv_main"
  12. android:layout_width="match_parent"
  13. android:layout_height="match_parent" />
  14. <LinearLayout
  15. android:layout_width="match_parent"
  16. android:layout_height="wrap_content"
  17. android:layout_alignParentBottom="true"
  18. android:gravity="center">
  19. <com.google.android.material.button.MaterialButton
  20. android:id="@+id/close_btn"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_margin="5dp"
  24. android:padding="5dp"
  25. android:text="@string/close"
  26. android:textSize="16sp" />
  27. </LinearLayout>
  28. </RelativeLayout>