Advertisement
Raditya48

fragment_list_candidate

Jan 15th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2. xmlns:tools="http://schemas.android.com/tools"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. xmlns:card_view="http://schemas.android.com/apk/res-auto"
  6. tools:context="com.qldejozz.JobSeeker.Keranjang.Fragment.ListCandidateFragment"
  7. android:layout_gravity="center"
  8. android:layout_marginLeft="8dp"
  9. android:layout_marginTop="40dp"
  10. android:layout_marginRight="8dp"
  11. android:layout_marginBottom="4dp"
  12. android:orientation="vertical"
  13. card_view:cardCornerRadius="4dp"
  14. android:background="@color/colorBackground">
  15.  
  16. <RelativeLayout
  17. android:id="@+id/relativeLayoutItem"
  18. android:layout_width="match_parent"
  19. android:layout_height="wrap_content"
  20. >
  21.  
  22. <ImageView
  23. android:id="@+id/itemContentImages"
  24. android:layout_width="75dp"
  25. android:layout_height="75dp"
  26. android:layout_marginBottom="4dp"
  27. android:scaleType="centerCrop"
  28. android:background="@color/view" />
  29.  
  30. <LinearLayout
  31. android:layout_width="match_parent"
  32. android:id="@+id/itemContentTitle"
  33. android:layout_height="wrap_content"
  34. android:layout_toRightOf="@id/itemContentImages">
  35.  
  36. <TextView
  37. android:id="@+id/tvTitle"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_marginLeft="16dp"
  41. android:layout_marginTop="-2dp"
  42. android:layout_marginRight="@dimen/horizontalMargin"
  43. android:layout_marginBottom="8dp"
  44. android:textSize="14sp"
  45. android:textStyle="bold"
  46. android:layout_weight="1"
  47. android:textColor="@color/colorAccent"
  48. tools:text="Nama Lengkap" />
  49.  
  50. </LinearLayout>
  51.  
  52. <TextView
  53. android:id="@+id/tvSubtitle"
  54. android:layout_width="match_parent"
  55. android:layout_height="wrap_content"
  56. android:layout_below="@id/itemContentTitle"
  57. android:layout_marginLeft="@dimen/horizontalMargin"
  58. android:layout_marginTop="-2dp"
  59. android:layout_marginRight="@dimen/horizontalMargin"
  60. android:layout_marginBottom="8dp"
  61. android:layout_toRightOf="@id/itemContentImages"
  62. android:textSize="10sp"
  63. android:textStyle="bold"
  64. android:textColor="#000"
  65. android:drawableLeft="@drawable/ic_location_on_black_12dp"
  66. tools:text="Kota Surabaya, Jawa Timur. Indonesia" />
  67.  
  68. <TextView
  69. android:id="@+id/tvSubtitle1"
  70. android:layout_width="match_parent"
  71. android:layout_height="wrap_content"
  72. android:layout_alignLeft="@+id/tvSubtitle"
  73. android:layout_alignStart="@+id/tvSubtitle"
  74. android:layout_below="@+id/tvSubtitle"
  75. android:drawableLeft="@drawable/ic_mail_black_12dp"
  76. android:textColor="#000"
  77. android:textSize="10sp"
  78. android:textStyle="bold"
  79. tools:text="Example@mail.com" />
  80.  
  81. <LinearLayout
  82. android:layout_width="match_parent"
  83. android:layout_height="wrap_content"
  84. android:layout_below="@id/tvSubtitle1"
  85. android:gravity="right"
  86. android:layout_toRightOf="@id/itemContentImages">
  87.  
  88. <Button
  89. android:id="@+id/btn_hapus"
  90. android:layout_width="60dp"
  91. android:layout_height="20dp"
  92. android:layout_alignBaseline="@+id/btn_add"
  93. android:layout_alignBottom="@+id/btn_add"
  94. android:layout_marginEnd="24dp"
  95. android:layout_marginRight="24dp"
  96. android:layout_marginBottom="24dp"
  97. android:layout_toLeftOf="@+id/btn_add"
  98. android:layout_toStartOf="@+id/btn_add"
  99. android:background="@color/colorFalse"
  100. android:text="Remove"
  101. android:textColor="#fff"
  102. android:textSize="11dp" />
  103.  
  104. <Button
  105. android:id="@+id/btn_add"
  106. android:layout_width="60dp"
  107. android:layout_height="20dp"
  108. android:layout_alignBaseline="@+id/btn_add"
  109. android:layout_alignBottom="@+id/btn_add"
  110. android:layout_marginEnd="24dp"
  111. android:layout_marginRight="24dp"
  112. android:layout_marginBottom="24dp"
  113. android:layout_toLeftOf="@+id/btn_add"
  114. android:layout_toStartOf="@+id/btn_add"
  115. android:background="@color/colorAccent"
  116. android:drawableLeft="@drawable/ic_add_circle_black_12dp"
  117. android:text="Add"
  118. android:textColor="#fff"
  119. android:textSize="11dp" />
  120.  
  121.  
  122. </LinearLayout>
  123.  
  124.  
  125. </RelativeLayout>
  126.  
  127. <View
  128. android:layout_width="match_parent"
  129. android:layout_height="1dp"
  130. android:background="@color/view"
  131. android:layout_marginTop="10dp"
  132. android:layout_marginBottom="10dp"/>
  133.  
  134.  
  135.  
  136.  
  137. </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement