Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.design.widget.CoordinatorLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent" xmlns:tools="http://schemas.android.com/tools">
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:theme="@style/AppTheme.AppBarOverlay">
- <android.support.design.widget.CollapsingToolbarLayout
- android:layout_width="match_parent"
- android:layout_height="350dp"
- app:expandedTitleGravity="center"
- app:expandedTitleMarginTop="100dp"
- app:contentScrim="@color/colorPrimary"
- app:layout_scrollFlags="scroll|exitUntilCollapsed">
- <ImageView
- android:scaleType="centerCrop"
- android:layout_marginTop="56dp"
- android:src="@drawable/bg_penulis"
- android:id="@+id/iv_bundle_image_at_detail_publisher"
- android:layout_width="match_parent"
- android:layout_height="196dp"
- app:layout_collapseMode="parallax"/>
- <FrameLayout
- android:layout_marginTop="214dp"
- android:background="@drawable/bg_layout_detail_publisher"
- android:orientation="vertical"
- android:layout_width="match_parent"
- android:layout_height="140dp"/>
- <de.hdodenhof.circleimageview.CircleImageView
- android:background="@drawable/bg_circle_image_view"
- android:layout_marginTop="32dp"
- android:id="@+id/iv_profil_penerbit"
- android:src="@drawable/bg_penulis"
- android:layout_gravity="center"
- android:layout_width="84dp"
- android:layout_height="84dp"
- android:layout_centerHorizontal="true"
- app:civ_border_width="2dp"
- app:civ_border_color="@color/borderCircleImageView"
- />
- <TextView
- android:layout_marginTop="254dp"
- android:gravity="center"
- android:id="@+id/tv_title_publisher_detail"
- android:textSize="16dp"
- android:textColor="@color/black"
- android:layout_width="match_parent" android:layout_height="wrap_content"
- android:textStyle="bold"
- android:text="MediaKita"/>
- <TextView
- android:textColor="@color/black"
- android:layout_marginTop="274dp"
- android:gravity="center"
- android:id="@+id/tv_count_data_book"
- android:textSize="12dp"
- android:layout_width="match_parent" android:layout_height="wrap_content"
- android:text="0 Buku, 0 Penulis"/>
- <android.support.design.widget.TabLayout
- android:id="@+id/tab_layout_detail_publisher"
- android:layout_width="match_parent"
- android:layout_height="?android:attr/actionBarSize"
- android:background="@color/colorPrimary"
- android:theme="@style/AppTheme"
- android:elevation="0.1dp"
- app:layout_collapseMode="pin"
- android:layout_gravity="bottom"/>
- <android.support.v7.widget.Toolbar
- app:layout_collapseMode="pin"
- android:id="@+id/toolbar_login_icon"
- android:layout_width="match_parent"
- android:layout_height="?android:attr/actionBarSize"
- android:layout_marginBottom="?android:attr/actionBarSize"
- android:gravity="center"
- app:contentInsetStart="0dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="horizontal">
- <ImageButton
- android:id="@+id/bt_back_detail_publisher"
- android:layout_width="?attr/actionBarSize"
- android:layout_height="?attr/actionBarSize"
- android:background="?attr/selectableItemBackgroundBorderless"
- android:tint="@color/colorPrimaryDark"
- app:srcCompat="@drawable/ic_back"
- tools:ignore="VectorDrawableCompat" />
- <EditText
- android:layout_marginRight="8dp"
- android:layout_marginTop="8dp"
- android:layout_marginBottom="8dp"
- android:id="@+id/search_view_home"
- android:layout_marginLeft="54dp"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/search_wishlist_border"
- android:gravity="left|center"
- android:hint=" Cari Buku Disini"
- android:textSize="14dp"
- android:textColorHint="@android:color/darker_gray"/>
- </RelativeLayout>
- </android.support.v7.widget.Toolbar>
- </android.support.design.widget.CollapsingToolbarLayout>
- </android.support.design.widget.AppBarLayout>
- <android.support.v4.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <FrameLayout
- android:id="@+id/frame"
- android:layout_width="match_parent"
- android:layout_height="match_parent"/>
- </RelativeLayout>
- //</android.support.v4.widget.NestedScrollView>
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement