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="@android:color/white"
- android:focusable="false"
- android:focusableInTouchMode="true"
- android:fitsSystemWindows="true"
- android:orientation="vertical">
- <include
- layout="@layout/header_layout_promodetail"/>
- <!--<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="match_parent"
- android:orientation="vertical">
- <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="0dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tv_promotitle"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:fontFamily="@font/poppins_medium"
- android:textColor="@android:color/black"
- android:textSize="18sp"
- android:textStyle="bold" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <LinearLayout
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tv_name_merchant"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:background="@drawable/btn_change"
- android:text=""
- android:paddingBottom="5dp"
- android:paddingTop="5dp"
- android:paddingStart="10dp"
- android:paddingEnd="10dp"
- android:textColor="@color/white"
- android:textSize="13sp"
- android:textStyle="bold" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="5dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tv_promoinfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="Periode Promo"
- android:fontFamily="@font/poppins_regular"
- 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="0dp">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tv_valid_date"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:text="14 Juni - 20 Desember 2019"
- android:textColor="@color/grey500"
- android:fontFamily="@font/poppins_medium"
- android:textSize="13sp"
- android:textStyle="bold" />
- </LinearLayout>
- </LinearLayout>
- <!--<View-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="10dp"-->
- <!--android:layout_marginTop="13dp"-->
- <!--android:background="@color/white_pressed" />-->
- <!--<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="wrap_content"
- android:orientation="horizontal"
- android:background="@drawable/valleyshape"
- android:gravity="center"
- android:padding="10dp">
- <ImageView
- android:layout_width="30dp"
- android:layout_height="30dp"
- android:src="@drawable/valley_voucher"
- android:textColor="@android:color/black"
- android:textSize="14sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="10dp"
- android:fontFamily="@font/poppins_semibold"
- android:text="Get More Promo"
- android:textColor="@color/black_semi_transparent"
- android:textSize="14sp" />
- <TextView
- android:id="@+id/btn_view_promo"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="70dp"
- android:text="View"
- android:paddingStart="15dp"
- android:paddingEnd="15dp"
- android:textStyle="bold"
- android:padding="5dp"
- android:textColor="@android:color/white"
- android:background="@drawable/btn_change"
- android:textSize="14sp" />
- </LinearLayout>
- <!--<View-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="10dp"-->
- <!--android:layout_marginTop="13dp"-->
- <!--android:background="@color/white_pressed" />-->
- <!--<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:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:orientation="vertical">-->
- <!--<TextView-->
- <!--android:id="@+id/tv_terms"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:gravity="center"-->
- <!--android:textStyle="bold"-->
- <!--android:text="Highlights"-->
- <!--android:textColor="@android:color/black"-->
- <!--android:textSize="14sp" />-->
- <!--</LinearLayout>-->
- <!--</LinearLayout>-->
- <!--<LinearLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:layout_marginTop="0dp"-->
- <!--android:layout_marginStart="10dp"-->
- <!--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_terms1"-->
- <!--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_marginTop="0dp"-->
- <!--android:layout_marginStart="10dp"-->
- <!--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_terms2"-->
- <!--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_marginTop="0dp"-->
- <!--android:layout_marginStart="10dp"-->
- <!--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_terms3"-->
- <!--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>-->
- <!--<View-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="10dp"-->
- <!--android:layout_marginTop="13dp"-->
- <!--android:background="@color/white_pressed" />-->
- <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_highlights"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center"
- android:textStyle="bold"
- android:text="Description"
- android:fontFamily="@font/poppins_regular"
- android:textColor="@android:color/black"
- android:textSize="14sp" />
- </LinearLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_marginTop="0dp"
- android:layout_marginStart="10dp"
- 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_highlights1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:gravity="left"
- android:fontFamily="@font/poppins_regular"
- android:textColor="@color/black_semi_transparent"
- android:textSize="13sp" />
- <Button
- android:visibility="gone"
- android:id="@+id/viewMoreHighlight"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="center"
- android:layout_marginBottom="@dimen/_10sdp"
- android:background="?attr/selectableItemBackgroundBorderless"
- android:fontFamily="@font/poppins_medium"
- android:minHeight="@dimen/_5sdp"
- android:text="View more"
- android:textAllCaps="false"
- android:textColor="#f3a953"
- android:textSize="12sp" />
- </LinearLayout>
- </LinearLayout>
- <View
- android:visibility="gone"
- android:layout_width="match_parent"
- android:layout_height="10dp"
- android:layout_marginTop="13dp"
- android:background="@color/white_pressed" />
- <!--<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: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:textStyle="bold"-->
- <!--android:text="Notice"-->
- <!--android:fontFamily="@font/poppins_regular"-->
- <!--android:textColor="@android:color/black"-->
- <!--android:textSize="14sp" />-->
- <!--</LinearLayout>-->
- <!--</LinearLayout>-->
- <!--<LinearLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--android:layout_marginTop="0dp"-->
- <!--android:layout_marginStart="10dp"-->
- <!--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="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:gravity="left"-->
- <!--android:maxLines="5"-->
- <!--android:fontFamily="@font/poppins_regular"-->
- <!--android:textColor="@color/black_semi_transparent"-->
- <!--android:textSize="13sp" />-->
- <!--<Button-->
- <!--android:id="@+id/viewMoreNotice"-->
- <!--android:layout_width="wrap_content"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_gravity="center"-->
- <!--android:layout_marginBottom="@dimen/_10sdp"-->
- <!--android:background="?attr/selectableItemBackgroundBorderless"-->
- <!--android:fontFamily="@font/poppins_medium"-->
- <!--android:minHeight="@dimen/_5sdp"-->
- <!--android:text="View more"-->
- <!--android:textAllCaps="false"-->
- <!--android:textColor="#f3a953"-->
- <!--android:textSize="12sp" />-->
- <!--</LinearLayout>-->
- <!--</LinearLayout>-->
- <Button
- android:visibility="gone"
- android:id="@+id/btn_check_now"
- 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:textAllCaps="false"
- android:fontFamily="@font/poppins_regular"
- android:textColor="@android:color/white"
- android:textSize="13sp"
- android:textStyle="bold" />
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- </FrameLayout>
- </android.support.design.widget.CoordinatorLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement