Advertisement
Guest User

Untitled

a guest
Jun 25th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.15 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. xmlns:app="http://schemas.android.com/apk/res-auto"
  8. tools:context=".UserProfile.UserProfileFragment">
  9.  
  10.  
  11. <ImageView
  12. android:id="@+id/profile_imageView"
  13. android:layout_width="match_parent"
  14. android:layout_height="200dp"
  15. android:layout_marginEnd="2dp"
  16. android:layout_marginStart="2dp"
  17. android:layout_marginTop="2dp"
  18. android:contentDescription="@string/user_profile_image"
  19. android:src="@drawable/com_facebook_profile_picture_blank_square"
  20. app:layout_constraintEnd_toEndOf="parent"
  21. app:layout_constraintStart_toStartOf="parent"
  22. app:layout_constraintTop_toTopOf="parent" />
  23.  
  24.  
  25. <android.support.v7.widget.RecyclerView
  26. android:id="@+id/design_list"
  27. android:layout_width="300dp"
  28. android:layout_height="wrap_content"
  29. android:layout_marginEnd="8dp"
  30. android:layout_marginStart="8dp"
  31. android:layout_marginTop="8dp"
  32. app:layoutManager="android.support.v7.widget.LinearLayoutManager"
  33. app:layout_behavior="@string/appbar_scrolling_view_behavior"
  34. app:layout_constraintEnd_toEndOf="parent"
  35. app:layout_constraintStart_toStartOf="parent"
  36. app:layout_constraintTop_toBottomOf="@+id/profile_imageView" />
  37.  
  38. <Button
  39. android:id="@+id/add_design"
  40. android:layout_width="300dp"
  41. android:layout_height="50dp"
  42. android:layout_marginBottom="55dp"
  43. android:background="@drawable/rounded_button_login"
  44. android:paddingLeft="5dp"
  45. android:paddingRight="5dp"
  46.  
  47. android:text="@string/add_new_design"
  48. android:textColor="@color/colorWhite"
  49. app:layout_constraintBottom_toBottomOf="parent"
  50. app:layout_constraintEnd_toEndOf="parent"
  51. app:layout_constraintStart_toStartOf="parent" />
  52.  
  53.  
  54. </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement