Guest User

Untitled

a guest
Jul 22nd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.66 KB | None | 0 0
  1. <androidx.constraintlayout.widget.ConstraintLayout
  2. android:layout_width="wrap_content"
  3. android:layout_height="wrap_content"
  4. android:orientation="vertical"
  5. android:layout_marginRight="@dimen/margin">
  6.  
  7.  
  8. <com.an.constraintlayout.sample.views.CircleImageView
  9. android:id="@+id/profile_image"
  10. android:layout_width="@dimen/profile_item_image_size"
  11. android:layout_height="@dimen/profile_item_image_size"
  12. android:layout_marginLeft="@dimen/margin"
  13. android:layout_marginRight="@dimen/margin"
  14. app:civ_border_color="@android:color/transparent"
  15. app:civ_border_width="0dp"
  16. app:layout_constraintHorizontal_bias="0.5"
  17. app:layout_constraintLeft_toRightOf="parent"
  18. app:layout_constraintRight_toLeftOf="parent"
  19. app:layout_constraintTop_toTopOf="parent" />
  20.  
  21. <com.an.customfontview.CustomTextView
  22. android:id="@+id/txt_name"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_marginLeft="@dimen/margin"
  26. android:layout_marginTop="@dimen/margin_small"
  27. android:layout_marginRight="@dimen/margin"
  28. android:ellipsize="end"
  29. android:maxEms="6"
  30. android:maxLines="1"
  31. android:textColor="@color/profile_item_name"
  32. android:textSize="@dimen/font_small"
  33. app:layout_constraintHorizontal_bias="0.5"
  34. app:layout_constraintLeft_toRightOf="parent"
  35. app:layout_constraintRight_toLeftOf="parent"
  36. app:layout_constraintTop_toBottomOf="@+id/profile_image"
  37. app:textFontPath="fonts/gt_medium.otf" />
  38.  
  39. <com.an.customfontview.CustomTextView
  40. android:id="@+id/txt_info"
  41. android:layout_width="wrap_content"
  42. android:layout_height="wrap_content"
  43. android:layout_below="@+id/txt_name"
  44. android:layout_marginLeft="@dimen/margin_small"
  45. android:layout_marginTop="@dimen/margin_xsmall"
  46. android:layout_marginRight="@dimen/margin_small"
  47. android:ellipsize="end"
  48. android:maxEms="6"
  49. android:maxLines="1"
  50. android:textColor="@color/profile_item_info"
  51. android:textSize="@dimen/font_xsmall"
  52. app:layout_constraintHorizontal_bias="0.5"
  53. app:layout_constraintLeft_toRightOf="parent"
  54. app:layout_constraintRight_toLeftOf="parent"
  55. app:layout_constraintTop_toBottomOf="@+id/txt_name"
  56. app:textFontPath="fonts/gt_medium.otf" />
  57.  
  58. </androidx.constraintlayout.widget.ConstraintLayout>
Add Comment
Please, Sign In to add comment