Advertisement
Guest User

Untitled

a guest
Jul 16th, 2019
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.58 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <android.support.design.widget.CoordinatorLayout
  4. xmlns:android="http://schemas.android.com/apk/res/android"
  5. xmlns:app="http://schemas.android.com/apk/res-auto"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools">
  8.  
  9.  
  10. <android.support.design.widget.AppBarLayout
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:theme="@style/AppTheme.AppBarOverlay">
  14.  
  15. <android.support.design.widget.CollapsingToolbarLayout
  16. android:layout_width="match_parent"
  17. android:layout_height="350dp"
  18. app:expandedTitleGravity="center"
  19. app:expandedTitleMarginTop="100dp"
  20. app:contentScrim="@color/colorPrimary"
  21. app:layout_scrollFlags="scroll|exitUntilCollapsed">
  22.  
  23. <ImageView
  24. android:scaleType="centerCrop"
  25. android:layout_marginTop="56dp"
  26. android:src="@drawable/bg_penulis"
  27. android:id="@+id/iv_bundle_image_at_detail_publisher"
  28. android:layout_width="match_parent"
  29. android:layout_height="196dp"
  30. app:layout_collapseMode="parallax"/>
  31.  
  32. <FrameLayout
  33. android:layout_marginTop="214dp"
  34. android:background="@drawable/bg_layout_detail_publisher"
  35. android:orientation="vertical"
  36. android:layout_width="match_parent"
  37. android:layout_height="140dp"/>
  38.  
  39. <de.hdodenhof.circleimageview.CircleImageView
  40. android:background="@drawable/bg_circle_image_view"
  41. android:layout_marginTop="32dp"
  42. android:id="@+id/iv_profil_penerbit"
  43. android:src="@drawable/bg_penulis"
  44. android:layout_gravity="center"
  45. android:layout_width="84dp"
  46. android:layout_height="84dp"
  47. android:layout_centerHorizontal="true"
  48. app:civ_border_width="2dp"
  49. app:civ_border_color="@color/borderCircleImageView"
  50. />
  51.  
  52. <TextView
  53. android:layout_marginTop="254dp"
  54. android:gravity="center"
  55. android:id="@+id/tv_title_publisher_detail"
  56. android:textSize="16dp"
  57. android:textColor="@color/black"
  58. android:layout_width="match_parent" android:layout_height="wrap_content"
  59. android:textStyle="bold"
  60. android:text="MediaKita"/>
  61.  
  62. <TextView
  63.  
  64. android:textColor="@color/black"
  65. android:layout_marginTop="274dp"
  66. android:gravity="center"
  67. android:id="@+id/tv_count_data_book"
  68. android:textSize="12dp"
  69. android:layout_width="match_parent" android:layout_height="wrap_content"
  70. android:text="0 Buku, 0 Penulis"/>
  71.  
  72. <android.support.design.widget.TabLayout
  73.  
  74. android:id="@+id/tab_layout_detail_publisher"
  75. android:layout_width="match_parent"
  76. android:layout_height="?android:attr/actionBarSize"
  77. android:background="@color/colorPrimary"
  78. android:theme="@style/AppTheme"
  79. android:elevation="0.1dp"
  80. app:layout_collapseMode="pin"
  81. android:layout_gravity="bottom"/>
  82.  
  83. <android.support.v7.widget.Toolbar
  84. app:layout_collapseMode="pin"
  85. android:id="@+id/toolbar_login_icon"
  86. android:layout_width="match_parent"
  87. android:layout_height="?android:attr/actionBarSize"
  88. android:layout_marginBottom="?android:attr/actionBarSize"
  89. android:gravity="center"
  90. app:contentInsetStart="0dp">
  91.  
  92. <RelativeLayout
  93. android:layout_width="match_parent"
  94. android:layout_height="match_parent"
  95. android:orientation="horizontal">
  96.  
  97. <ImageButton
  98. android:id="@+id/bt_back_detail_publisher"
  99. android:layout_width="?attr/actionBarSize"
  100. android:layout_height="?attr/actionBarSize"
  101. android:background="?attr/selectableItemBackgroundBorderless"
  102. android:tint="@color/colorPrimaryDark"
  103. app:srcCompat="@drawable/ic_back"
  104. tools:ignore="VectorDrawableCompat" />
  105.  
  106. <EditText
  107. android:layout_marginRight="8dp"
  108. android:layout_marginTop="8dp"
  109. android:layout_marginBottom="8dp"
  110. android:id="@+id/search_view_home"
  111. android:layout_marginLeft="54dp"
  112. android:layout_width="match_parent"
  113. android:layout_height="match_parent"
  114. android:background="@drawable/search_wishlist_border"
  115. android:gravity="left|center"
  116. android:hint=" Cari Buku Disini"
  117. android:textSize="14dp"
  118. android:textColorHint="@android:color/darker_gray"/>
  119. </RelativeLayout>
  120.  
  121. </android.support.v7.widget.Toolbar>
  122.  
  123. </android.support.design.widget.CollapsingToolbarLayout>
  124.  
  125. </android.support.design.widget.AppBarLayout>
  126.  
  127. <android.support.v4.widget.NestedScrollView
  128. android:layout_width="match_parent"
  129. android:layout_height="match_parent"
  130. app:layout_behavior="@string/appbar_scrolling_view_behavior">
  131.  
  132. <RelativeLayout
  133. android:layout_width="match_parent"
  134. android:layout_height="match_parent">
  135.  
  136. <FrameLayout
  137. android:id="@+id/frame"
  138. android:layout_width="match_parent"
  139. android:layout_height="match_parent"/>
  140.  
  141. </RelativeLayout>
  142.  
  143. //</android.support.v4.widget.NestedScrollView>
  144.  
  145.  
  146. </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement