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"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@android:color/white"
- android:focusable="false"
- android:focusableInTouchMode="true"
- android:fitsSystemWindows="true"
- android:orientation="vertical"
- tools:context="codelabs.ambarrukmo.activity.PromoDetailMyCardActivity">
- <include
- layout="@layout/header_layout_promodetail_2"/>
- <!--<include-->
- <!--layout="@layout/error"/>-->
- <!--<include-->
- <!--layout="@layout/loading"/>-->
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
- <android.support.v4.widget.NestedScrollView
- android:id="@+id/nested_scroll"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="0dp"
- android:background="@android:color/transparent"
- android:padding="0dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:orientation="horizontal">
- <ImageView
- android:id="@+id/img_promo1"
- android:layout_width="0dp"
- android:layout_height="80dp"
- android:layout_marginEnd="5dp"
- android:layout_weight="1"
- android:src="@drawable/img_step2" />
- <ImageView
- android:id="@+id/img_promo2"
- android:layout_width="0dp"
- android:layout_height="80dp"
- android:layout_marginEnd="5dp"
- android:layout_weight="1"
- android:src="@drawable/img_step2" />
- <ImageView
- android:id="@+id/img_promo3"
- android:layout_width="0dp"
- android:layout_height="80dp"
- android:layout_marginEnd="5dp"
- android:layout_weight="1"
- android:src="@drawable/img_step2" />
- <ImageView
- android:id="@+id/img_promo4"
- android:layout_width="0dp"
- android:layout_height="80dp"
- android:layout_marginEnd="5dp"
- android:layout_weight="1"
- android:src="@drawable/img_step2" />
- <!--<android.support.v7.widget.RecyclerView-->
- <!--android:id="@+id/rv_list_image"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:gravity="center"-->
- <!--android:text="@string/loremipsum"-->
- <!--android:textColor="@android:color/black"-->
- <!--android:textSize="18sp"-->
- <!--android:textStyle="bold" />-->
- </LinearLayout>
- </RelativeLayout>
- <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="10dp"
- android:layout_marginEnd="10dp"
- android:padding="0dp">
- <TextView
- android:id="@+id/tv_name_merchant"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Kintan Buffet"
- android:textColor="@android:color/black"
- android:textSize="15sp"
- android:textStyle="bold" />
- <ImageView
- android:id="@+id/tv_star"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/tv_name_merchant"
- android:layout_alignBottom="@+id/tv_name_merchant"
- android:layout_marginStart="10dp"
- android:layout_toRightOf="@+id/tv_name_merchant"
- android:gravity="center_vertical"
- android:src="@drawable/ic_star"
- android:text="My Points"
- android:textColor="@android:color/black"
- android:textSize="13sp" />
- <ImageView
- android:id="@+id/tv_star2"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/tv_star"
- android:layout_alignBottom="@+id/tv_star"
- android:layout_marginStart="5dp"
- android:layout_toRightOf="@+id/tv_star"
- android:gravity="center_vertical"
- android:src="@drawable/ic_star"
- android:text="My Points"
- android:textColor="@android:color/black"
- android:textSize="13sp" />
- <ImageView
- android:id="@+id/tv_star3"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignTop="@+id/tv_star2"
- android:layout_alignBottom="@+id/tv_star2"
- android:layout_marginStart="5dp"
- android:layout_toRightOf="@+id/tv_star2"
- android:gravity="center_vertical"
- android:src="@drawable/ic_star"
- android:text="My Points"
- android:textColor="@android:color/black"
- android:textSize="13sp" />
- </RelativeLayout>
- </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">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="0dp">
- <TextView
- android:id="@+id/tv_name_category"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/btn_border_catg"
- android:paddingStart="15dp"
- android:paddingTop="5dp"
- android:paddingEnd="15dp"
- android:paddingBottom="5dp"
- android:text="Dining"
- android:textColor="@color/dot_dark_screen2"
- android:textSize="13sp" />
- <TextView
- 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:layout_alignParentEnd="true"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- android:gravity="center_vertical"
- android:src="@drawable/ic_star"
- android:text="8.3"
- 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="0dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="5dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginStart="5dp"
- android:layout_marginEnd="5dp"
- android:padding="0dp">
- <TextView
- android:id="@+id/tv_address"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Gandaria City, Lt. Upper Ground"
- android:textColor="@color/half_black"
- android:textSize="13sp" />
- <TextView
- 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:layout_alignParentEnd="true"
- android:layout_marginStart="10dp"
- android:layout_marginEnd="10dp"
- android:gravity="center_vertical"
- android:text="Impressive"
- 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="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:text="10 guest talked about comfortable place"
- android:textColor="@color/grey500"
- android:textSize="12sp"
- android:textStyle="italic" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="10dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="10dp"
- 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_desc_review"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:drawableStart="@drawable/ic_chevron_left"
- android:drawableEnd="@drawable/ic_chevron_right"
- android:drawablePadding="10dp"
- android:drawableTint="@color/dot_dark_screen1"
- android:gravity="center"
- android:text="Comfortable place around Gandaria for eating with family, cheap, and clean."
- android:textColor="@android:color/black"
- 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="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="30dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="10dp">
- <LinearLayout
- 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:text="Restaurant 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="10dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="10dp"
- android:background="@android:color/transparent"
- 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_notice2"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left"
- android:text="@string/terms"
- android:textColor="@color/black_semi_transparent"
- android:textSize="13sp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="10dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="10dp"
- android:background="@android:color/transparent"
- android:orientation="horizontal"
- android:padding="5dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left"
- android:text="@string/terms"
- android:textColor="@color/black_semi_transparent"
- android:textSize="13sp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginStart="10dp"
- android:layout_marginTop="0dp"
- android:layout_marginEnd="10dp"
- android:layout_marginBottom="20dp"
- android:background="@android:color/transparent"
- android:orientation="horizontal"
- android:padding="5dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="left"
- android:text="@string/terms"
- android:textColor="@color/black_semi_transparent"
- android:textSize="13sp" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- </FrameLayout>
- <FrameLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:nestedScrollingEnabled="false"
- android:background="?attr/selectableItemBackgroundBorderless"
- android:layout_gravity="bottom">
- <Button
- 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