Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <android.support.constraint.ConstraintLayout 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.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="@android:color/white"
- android:layout_marginTop="0dp"
- app:contentInsetLeft="0dp"
- app:contentInsetStart="0dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin">
- <ImageView
- android:id="@+id/iv_back"
- android:layout_width="40dp"
- android:layout_height="150dp"
- android:layout_alignParentTop="true"
- android:src="@drawable/ic_chevron_left"
- android:tint="@android:color/black" />
- <TextView
- android:id="@+id/tv_toolbar_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_centerInParent="true"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="17dp"
- android:text="What's On"
- android:fontFamily="@font/poppins_semibold"
- android:textColor="@android:color/black"
- android:textSize="16sp"
- />
- </RelativeLayout>
- </android.support.v7.widget.Toolbar>
- <include layout="@layout/error"/>
- <include layout="@layout/loading"/>
- <FrameLayout
- android:id="@+id/container_content"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <android.support.v4.widget.NestedScrollView
- android:id="@+id/scrollView"
- android:layout_width="match_parent"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/toolbar">
- <android.support.constraint.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <!--<android.support.v7.widget.CardView-->
- <!--android:id="@+id/card_totalPay"-->
- <!--android:layout_width="0dp"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginTop="16dp"-->
- <!--android:layout_marginEnd="16dp"-->
- <!--android:layout_marginStart="16dp"-->
- <!--app:layout_constraintEnd_toEndOf="parent"-->
- <!--app:layout_constraintStart_toStartOf="parent"-->
- <!--app:layout_constraintTop_toTopOf="parent">-->
- <!--<RelativeLayout-->
- <!--android:id="@+id/relative_search"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:padding="10dp"-->
- <!--app:layout_constraintEnd_toEndOf="parent"-->
- <!--app:layout_constraintStart_toStartOf="parent"-->
- <!--app:layout_constraintTop_toTopOf="parent">-->
- <!--<SearchView-->
- <!--android:id="@+id/searchView"-->
- <!--android:layout_width="match_parent"-->
- <!--android:queryBackground="@android:color/transparent"-->
- <!--android:layout_height="?attr/actionBarSize"-->
- <!--android:iconifiedByDefault="false"-->
- <!--android:queryHint="Search my voucher!" />-->
- <!--</RelativeLayout>-->
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="0dp"
- android:background="@android:color/white"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="10dp"
- app:layout_constraintEnd_toEndOf="@+id/relative_search"
- app:layout_constraintStart_toStartOf="@+id/relative_search"
- app:layout_constraintTop_toBottomOf="@+id/relative_search">
- <android.support.v7.widget.RecyclerView
- android:id="@+id/rv_list_promo_merchant"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:nestedScrollingEnabled="false">
- </android.support.v7.widget.RecyclerView>
- </LinearLayout>
- <!--</android.support.v7.widget.CardView>-->
- <!--<android.support.v7.widget.CardView-->
- <!--android:id="@+id/card_last_payment"-->
- <!--android:layout_width="0dp"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginTop="1dp"-->
- <!--android:layout_marginEnd="1dp"-->
- <!--android:layout_marginStart="1dp"-->
- <!--app:layout_constraintEnd_toEndOf="@+id/relative_search"-->
- <!--app:layout_constraintStart_toStartOf="@+id/relative_search"-->
- <!--app:layout_constraintTop_toBottomOf="@+id/relative_search">-->
- <!--<android.support.constraint.ConstraintLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:padding="8dp">-->
- <!--<TextView-->
- <!--android:visibility="gone"-->
- <!--android:id="@+id/tv_last_payment"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:text="The last payment used"-->
- <!--android:textSize="13sp"-->
- <!--android:textColor="@color/grey500"-->
- <!--app:layout_constraintStart_toStartOf="parent"-->
- <!--app:layout_constraintTop_toTopOf="parent"/>-->
- <!--<!–<android.support.v7.widget.RecyclerView–>-->
- <!--<!–android:id="@+id/rvLastPayment"–>-->
- <!--<!–android:layout_width="match_parent"–>-->
- <!--<!–android:layout_height="0dp"–>-->
- <!--<!–android:layout_marginTop="16dp"–>-->
- <!--<!–app:layout_constraintEnd_toEndOf="parent"–>-->
- <!--<!–app:layout_constraintStart_toStartOf="parent"–>-->
- <!--<!–app:layout_constraintTop_toBottomOf="@+id/tv_last_payment" />–>-->
- <!--<LinearLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:padding="0dp"-->
- <!--android:layout_marginTop="6dp"-->
- <!--android:orientation="vertical"-->
- <!--app:layout_constraintEnd_toEndOf="parent"-->
- <!--app:layout_constraintStart_toStartOf="parent"-->
- <!--app:layout_constraintTop_toBottomOf="@+id/tv_last_payment">-->
- <!--<android.support.constraint.ConstraintLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_margin="5dp">-->
- <!--<ImageView-->
- <!--android:id="@+id/imgCard"-->
- <!--android:layout_width="90dp"-->
- <!--android:layout_height="50dp"-->
- <!--android:scaleType="centerCrop"-->
- <!--android:src="@drawable/kintan_bufet"-->
- <!--app:layout_constraintBottom_toBottomOf="parent"-->
- <!--app:layout_constraintStart_toStartOf="parent"-->
- <!--app:layout_constraintTop_toTopOf="parent" />-->
- <!--<TextView-->
- <!--android:id="@+id/btn_right"-->
- <!--android:layout_width="0dp"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginTop="5dp"-->
- <!--android:layout_marginEnd="5dp"-->
- <!--android:padding="0dp"-->
- <!--android:text="8.3"-->
- <!--android:textStyle="bold"-->
- <!--android:textSize="13sp"-->
- <!--android:textColor="@color/white"-->
- <!--android:paddingStart="10dp"-->
- <!--android:paddingEnd="10dp"-->
- <!--android:background="@drawable/btn_register"-->
- <!--app:layout_constraintEnd_toEndOf="parent"-->
- <!--app:layout_constraintTop_toTopOf="parent" />-->
- <!--<TextView-->
- <!--android:id="@+id/tv_name_merchant"-->
- <!--android:layout_width="0dp"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginStart="18dp"-->
- <!--android:layout_marginTop="5dp"-->
- <!--android:layout_marginEnd="8dp"-->
- <!--android:text="Kintan Buffet"-->
- <!--android:textColor="@android:color/black"-->
- <!--android:textSize="14sp"-->
- <!--app:layout_constraintStart_toEndOf="@id/imgCard"-->
- <!--app:layout_constraintTop_toTopOf="parent" />-->
- <!--<TextView-->
- <!--android:id="@+id/tv_desc"-->
- <!--android:layout_width="0dp"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginStart="18dp"-->
- <!--android:layout_marginTop="5dp"-->
- <!--android:text="Lorem Ipsum, Ambarrukmo Plaza"-->
- <!--android:textColor="@color/grey500"-->
- <!--android:textSize="13sp"-->
- <!--app:layout_constraintStart_toEndOf="@id/imgCard"-->
- <!--app:layout_constraintTop_toBottomOf="@+id/tv_name_merchant" />-->
- <!--<TextView-->
- <!--android:id="@+id/tv_name_method"-->
- <!--android:layout_width="0dp"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginTop="7dp"-->
- <!--android:layout_marginStart="18dp"-->
- <!--android:text="CUISINES: Grill, Japanese"-->
- <!--android:textColor="@android:color/black"-->
- <!--android:textSize="13sp"-->
- <!--app:layout_constraintStart_toEndOf="@id/imgCard"-->
- <!--app:layout_constraintTop_toBottomOf="@+id/tv_desc" />-->
- <!--</android.support.constraint.ConstraintLayout>-->
- <!--</LinearLayout>-->
- <!--</android.support.constraint.ConstraintLayout>-->
- <!--</android.support.v7.widget.CardView>-->
- </android.support.constraint.ConstraintLayout>
- </android.support.v4.widget.NestedScrollView>
- </FrameLayout>
- </android.support.constraint.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement