Guest User

Untitled

a guest
Oct 18th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.77 KB | None | 0 0
  1. <LinearLayout
  2. android:id="@+id/linearlayout_bgimg"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:orientation="vertical">
  6.  
  7. <ImageView
  8. android:id="@+id/imageview1_bgimg"
  9. android:layout_width="wrap_content"
  10. android:layout_height="match_parent"
  11. android:adjustViewBounds="true"
  12. android:scaleType="centerCrop"
  13. app:layout_constraintBottom_toBottomOf="parent"
  14. app:layout_constraintEnd_toEndOf="parent"
  15. app:layout_constraintStart_toEndOf="parent"
  16. app:layout_constraintTop_toTopOf="parent"
  17. app:srcCompat="@drawable/img_background" />
  18.  
  19. <ImageView
  20. android:id="@+id/imageview2_bgimg"
  21. android:layout_width="wrap_content"
  22. android:layout_height="match_parent"
  23. android:adjustViewBounds="true"
  24. android:scaleType="centerCrop"
  25. app:layout_constraintBottom_toBottomOf="parent"
  26. app:layout_constraintEnd_toEndOf="parent"
  27. app:layout_constraintStart_toEndOf="parent"
  28. app:layout_constraintTop_toTopOf="parent"
  29. app:srcCompat="@drawable/img_background" />
  30.  
  31. </LinearLayout>
  32.  
  33. <!-- This is where the main content goes, for now it is just space. -->
  34. <android.support.v4.widget.NestedScrollView
  35. android:id="@+id/nestedscrollview_main"
  36. android:layout_width="match_parent"
  37. android:layout_height="match_parent"
  38. android:fillViewport="true">
  39.  
  40. <LinearLayout
  41. android:id="@+id/linearlayout_main"
  42. android:layout_width="match_parent"
  43. android:layout_height="wrap_content"
  44. android:orientation="vertical" >
  45.  
  46. <Space
  47. android:layout_width="match_parent"
  48. android:layout_height="2000dp" />
  49. </LinearLayout>
  50. </android.support.v4.widget.NestedScrollView>
Add Comment
Please, Sign In to add comment