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"
- android:background="@color/white"
- android:id="@+id/coordinatorLayout"
- android:orientation="vertical">
- <!--<include-->
- <!--layout="@layout/header_layout_promodetail_2"/>-->
- <include
- layout="@layout/error"/>
- <include
- layout="@layout/loading"/>
- <android.support.design.widget.AppBarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <android.support.design.widget.CollapsingToolbarLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:contentScrim="@color/colorPrimaryDark"
- app:expandedTitleGravity="top"
- app:layout_scrollFlags="scroll|exitUntilCollapsed|snap">
- <LinearLayout
- android:id="@+id/liner_toolbar"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- <ImageView
- android:id="@+id/image_center"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentStart="true"
- android:layout_marginBottom="@dimen/_1sdp"
- android:adjustViewBounds="true"
- android:scaleType="centerCrop"
- android:src="@color/grey"
- app:layout_collapseMode="parallax"
- app:layout_collapseParallaxMultiplier="0.5" />
- <RelativeLayout
- android:layout_width="120dp"
- android:layout_height="150dp"
- android:layout_alignParentBottom="true">
- <ImageView
- android:id="@+id/logo_merchant"
- android:layout_width="120dp"
- android:layout_height="100dp"
- android:layout_marginBottom="20dp"
- android:layout_alignParentStart="true"
- android:layout_alignParentBottom="true"
- android:layout_marginStart="16dp"
- android:adjustViewBounds="false"
- android:scaleType="centerCrop"
- android:src="@color/grey"
- app:layout_collapseMode="parallax"
- app:layout_collapseParallaxMultiplier="0.5" />
- </RelativeLayout>
- <!--<ProgressBar-->
- <!--android:id="@+id/progress_bar"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_centerInParent="true"/>-->
- </RelativeLayout>
- <LinearLayout
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/image1"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="@dimen/_50sdp"
- android:adjustViewBounds="true"
- android:scaleType="centerCrop"
- android:layout_marginEnd="@dimen/_1sdp"
- android:src="@color/grey"/>
- <ImageView
- android:id="@+id/image2"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="@dimen/_50sdp"
- android:adjustViewBounds="true"
- android:scaleType="centerCrop"
- android:layout_marginEnd="@dimen/_1sdp"
- android:src="@color/grey"/>
- <ImageView
- android:id="@+id/image3"
- android:layout_width="0dp"
- android:layout_weight="1"
- android:layout_height="@dimen/_50sdp"
- android:adjustViewBounds="true"
- android:scaleType="centerCrop"
- android:layout_marginEnd="@dimen/_1sdp"
- android:src="@color/grey"/>
- <FrameLayout
- android:layout_width="0dp"
- android:layout_height="@dimen/_50sdp"
- android:layout_weight="1"
- android:alpha="0.5"
- android:background="@android:color/background_dark">
- <ImageView
- android:id="@+id/image4"
- android:scaleType="centerCrop"
- android:adjustViewBounds="true"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <TextView
- android:layout_width="match_parent"
- android:layout_gravity="center"
- android:layout_height="match_parent"
- android:alpha="0.5"
- android:background="@android:color/background_dark"
- android:gravity="center"
- android:text="See All Photos"
- android:fontFamily="@font/poppins_regular"
- android:textSize="@dimen/_8sdp"
- android:textColor="@android:color/white" />
- </FrameLayout>
- </LinearLayout>
- </LinearLayout>
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:layout_marginTop="@dimen/_20sdp"
- app:layout_collapseMode="pin">
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:paddingLeft="0dp"
- android:paddingRight="0dp">
- <ImageView
- android:id="@+id/iv_back"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/left_white"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent"/>
- <TextView
- android:id="@+id/tv_toolbar_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
- android:layout_toStartOf="@+id/iv_back"
- android:layout_toEndOf="@+id/iv_back"
- android:ellipsize="end"
- android:fontFamily="@font/poppins_semibold"
- android:gravity="center"
- android:maxLines="1"
- android:minLines="1"
- android:paddingLeft="0dp"
- android:text=""
- android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
- android:textColor="@android:color/white"
- android:textSize="16sp"
- android:textStyle="bold"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.439"
- app:layout_constraintStart_toEndOf="@+id/iv_back"
- app:layout_constraintTop_toTopOf="parent"/>
- </android.support.constraint.ConstraintLayout>
- </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="wrap_content"
- app:layout_behavior="android.support.design.widget.AppBarLayout$ScrollingViewBehavior">
- <LinearLayout
- android:id="@+id/liner_content"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:layout_marginBottom="@dimen/_50sdp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginHorizontal="@dimen/_15sdp"
- android:orientation="vertical">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="10dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <TextView
- android:id="@+id/store_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginEnd="@dimen/_5sdp"
- android:text=""
- android:fontFamily="@font/poppins_medium"
- android:textStyle="bold" />
- <android.support.v7.widget.AppCompatRatingBar
- style="@style/Widget.AppCompat.RatingBar.Small"
- android:id="@+id/rating"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:numStars="5"
- android:rating="3"
- android:layout_marginBottom="2dp"
- android:progressTint="@color/yellow"
- android:layout_gravity="center"/>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="10dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="0dp">
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rv_list_category"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:nestedScrollingEnabled="false"/>
- <!--<TextView-->
- <!--android:id="@+id/tv_name_category"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:background="@drawable/btn_border_catg"-->
- <!--android:fontFamily="@font/poppins_regular"-->
- <!--android:paddingStart="15dp"-->
- <!--android:paddingTop="5dp"-->
- <!--android:paddingEnd="15dp"-->
- <!--android:paddingBottom="5dp"-->
- <!--android:text=""-->
- <!--android:textColor="@color/dot_dark_screen2"-->
- <!--android:textSize="13sp" />-->
- <TextView
- android:visibility="gone"
- android:id="@+id/tv_value"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/tv_name_category"
- android:layout_alignBottom="@+id/tv_name_category"
- android:fontFamily="@font/poppins_regular"
- android:layout_alignParentEnd="true"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- android:gravity="center_vertical"
- android:src="@drawable/ic_star"
- android:text=""
- android:textColor="@color/dot_dark_screen2"
- android:textSize="21sp"
- android:textStyle="bold" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="10dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="0dp"
- android:layout_marginEnd="0dp"
- android:padding="0dp">
- <TextView
- android:id="@+id/tv_address"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_marginTop="0dp"
- android:fontFamily="@font/poppins_medium"
- android:text=""
- android:textColor="@color/half_black"
- android:textSize="13sp" />
- <TextView
- android:visibility="gone"
- android:id="@+id/tv_value_catg"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/tv_address"
- android:layout_alignBottom="@+id/tv_address"
- android:fontFamily="@font/poppins_regular"
- android:layout_alignParentEnd="true"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- android:gravity="center_vertical"
- android:text=""
- android:textColor="@color/dot_dark_screen2"
- android:textSize="14sp"
- android:textStyle="bold" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="10dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="0dp"
- android:layout_marginEnd="0dp"
- android:padding="0dp">
- <TextView
- android:id="@+id/text_location"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_marginTop="0dp"
- android:fontFamily="@font/poppins_medium"
- android:text="Location"
- android:textColor="@color/half_black"
- android:textSize="13sp" />
- <TextView
- android:id="@+id/tv_location"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/text_location"
- android:layout_alignBottom="@+id/text_location"
- android:fontFamily="@font/poppins_regular"
- android:layout_alignParentEnd="true"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- android:gravity="center_vertical"
- android:text=""
- android:textColor="@color/dot_dark_screen2"
- android:textSize="14sp"
- android:textStyle="bold" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="10dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="0dp"
- android:layout_marginEnd="0dp"
- android:padding="0dp">
- <TextView
- android:id="@+id/text_phone"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_marginTop="0dp"
- android:fontFamily="@font/poppins_medium"
- android:text="Phone"
- android:textColor="@color/half_black"
- android:textSize="13sp" />
- <TextView
- android:id="@+id/tv_phone_numb"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/text_phone"
- android:layout_alignBottom="@+id/text_phone"
- android:fontFamily="@font/poppins_regular"
- android:layout_alignParentEnd="true"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- android:gravity="center_vertical"
- android:clickable="true"
- android:text="0873636363728"
- android:textColor="@color/dot_dark_screen2"
- android:textSize="14sp"
- android:textStyle="bold" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="30dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="5dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tv_title_review"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:fontFamily="@font/poppins_italic"
- android:text="Guest talked about comfortable place"
- android:textColor="@color/grey500"
- android:textSize="12sp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:visibility="gone"
- android:id="@+id/card_viewslider"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_margin="0dp">
- <RelativeLayout
- android:id="@+id/rvPromoBanner"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <!--<FrameLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent">-->
- <!--<android.support.v4.view.ViewPager-->
- <!--android:id="@+id/viewPager"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="match_parent" />-->
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rv_testimonial"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_alignStart="@+id/previous"
- android:layout_alignEnd="@+id/next"
- android:nestedScrollingEnabled="false">
- </android.support.v7.widget.RecyclerView>
- <!--</FrameLayout>-->
- <ImageView
- android:id="@+id/next"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/ic_chevron_right"
- android:layout_marginEnd="0dp"
- android:backgroundTint="@color/yellow"
- android:layout_centerInParent="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentEnd="true"/>
- <ImageView
- android:id="@+id/previous"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="0dp"
- android:backgroundTint="@color/yellow"
- android:background="@drawable/ic_chevron_left"
- android:layout_alignParentLeft="true"
- android:layout_centerInParent="true"
- android:layout_alignParentStart="true"
- android:layout_alignTop="@+id/next"/>
- </RelativeLayout>
- <!--</LinearLayout>-->
- <!--</LinearLayout>-->
- </LinearLayout>
- <!--<LinearLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:layout_marginTop="0dp"-->
- <!--android:background="@android:color/transparent"-->
- <!--android:gravity="center_vertical"-->
- <!--android:orientation="horizontal"-->
- <!--android:padding="5dp">-->
- <!--<LinearLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:orientation="vertical">-->
- <!--<TextView-->
- <!--android:id="@+id/tv_name_review"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:gravity="center"-->
- <!--android:text="H.Saeb Riyadh"-->
- <!--android:textColor="@color/grey500"-->
- <!--android:textSize="13sp"-->
- <!--android:textStyle="bold" />-->
- <!--</LinearLayout>-->
- <!--</LinearLayout>-->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="0dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="10dp">
- <LinearLayout
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tv_notice"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:fontFamily="@font/poppins_regular"
- android:text="Description"
- android:textColor="@android:color/black"
- android:textSize="14sp"
- android:textStyle="bold" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="0dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="0dp"
- android:background="@android:color/transparent"
- android:orientation="horizontal"
- android:padding="0dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/description"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:fontFamily="@font/poppins_regular"
- android:text=""
- android:autoLink="web"
- android:textColor="@color/black_semi_transparent"
- android:textSize="13sp" />
- <Button
- android:visibility="gone"
- android:id="@+id/view_more"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:background="?attr/selectableItemBackgroundBorderless"
- android:fontFamily="@font/poppins_medium"
- android:minHeight="@dimen/_5sdp"
- android:textSize="12sp"
- android:text="View More"
- android:textAllCaps="false"
- android:textColor="#f3a953"/>
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:id="@+id/liner_promoby"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="0dp"
- android:layout_marginTop="0dp"
- android:layout_marginStart="0dp"
- android:layout_marginEnd="0dp">
- <TextView
- android:id="@+id/tv_promo_by"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text=""
- android:textStyle="bold"
- android:fontFamily="@font/poppins_light"
- android:textColor="@android:color/black"
- android:textSize="13sp" />
- <View
- android:layout_width="35dp"
- android:layout_height="3dp"
- android:layout_marginTop="20dp"
- android:layout_marginBottom="10dp"
- android:background="@color/colorPrimaryDark" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="0dp"
- android:layout_marginBottom="0dp"
- android:background="@android:color/white"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rv_list_promo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:nestedScrollingEnabled="false">
- </android.support.v7.widget.RecyclerView>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- <FrameLayout
- android:id="@+id/frame_button"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:nestedScrollingEnabled="false"
- android:background="?attr/selectableItemBackgroundBorderless"
- android:layout_gravity="bottom">
- <Button
- android:visibility="gone"
- android:id="@+id/btn_get_voucher"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center_horizontal"
- android:layout_marginStart="20dp"
- android:layout_marginEnd="20dp"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="20dp"
- android:background="@drawable/btn_change"
- android:paddingStart="40dp"
- android:paddingEnd="40dp"
- android:text="GET VOUCHER"
- android:fontFamily="@font/poppins_medium"
- android:textAllCaps="false"
- android:textColor="@android:color/white"
- android:textSize="13sp"
- android:textStyle="bold" />
- </FrameLayout>
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement