fragment_layout.xml 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent">
  5. <ImageView
  6. android:id="@+id/picture"
  7. android:layout_width="match_parent"
  8. android:layout_height="match_parent"
  9. android:scaleType="centerCrop" />
  10. <TextView
  11. android:id="@+id/text"
  12. android:layout_width="match_parent"
  13. android:layout_height="wrap_content"
  14. android:layout_gravity="center_vertical"
  15. android:gravity="center_horizontal"
  16. android:text="My Blur Text"
  17. android:textColor="@android:color/white"
  18. android:textSize="60sp"
  19. android:textStyle="bold" />
  20. <LinearLayout
  21. android:id="@+id/controls"
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_gravity="bottom"
  25. android:background="#7f000000"
  26. android:orientation="vertical" />
  27. </FrameLayout>