Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout 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:card_view="http://schemas.android.com/tools"
- android:background="@android:color/white"
- android:fitsSystemWindows="true"
- android:orientation="vertical">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="@color/white"
- android:layout_marginTop="0dp"
- app:contentInsetLeft="0dp"
- app:contentInsetStart="0dp">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:gravity="center_vertical"
- android:paddingLeft="10dp"
- 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="Promo Detail"
- android:fontFamily="@font/poppins_semibold"
- android:textColor="@android:color/black"
- android:textSize="16sp"
- android:textStyle="bold" />
- </RelativeLayout>
- </android.support.v7.widget.Toolbar>
- <!--<FrameLayout-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="match_parent"-->
- <!--app:layout_behavior="@string/appbar_scrolling_view_behavior">-->
- <!--<include layout="@layout/error"/>-->
- <!--<include layout="@layout/loading"/>-->
- <android.support.v4.widget.NestedScrollView
- android:id="@+id/container_content"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- <ImageView
- android:id="@+id/img_top_promo"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:scaleType="centerCrop"
- android:adjustViewBounds="true"
- android:src="@drawable/placeholder220"
- android:layout_marginBottom="10dp"
- android:layout_marginTop="0dp"/>
- <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_promoinfo"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:text="@string/loremipsum"
- android:textStyle="bold"
- android:fontFamily="@font/poppins_medium"
- android:textColor="@android:color/black"
- android:textSize="16sp"
- android:gravity="center"/>
- </LinearLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1dp"
- android:layout_marginTop="3dp"
- android:background="@color/dash" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="0dp"
- android:background="@android:color/transparent"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:padding="0dp">
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <LinearLayout
- android:gravity="center_vertical"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <LinearLayout
- android:layout_weight="1"
- android:padding="10dp"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:background="@drawable/border_right">
- <ImageView
- android:id="@+id/img_timepromo"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:src="@drawable/voucher_valid" />
- <TextView
- android:id="@+id/tv_periodpromo"
- android:textSize="13sp"
- android:textColor="@color/half_black"
- android:text="Promo Period"
- android:fontFamily="@font/poppins_regular"
- android:layout_marginTop="10dp"
- android:gravity="center_horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <TextView
- android:id="@+id/tv_datepromo"
- android:textSize="13sp"
- android:minLines="2"
- android:maxLines="2"
- android:textColor="@color/half_black"
- android:text="6 Januari - 14 Februari 2019"
- android:layout_marginTop="10dp"
- android:fontFamily="@font/poppins_regular"
- android:gravity="center_horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- </LinearLayout>
- <LinearLayout
- android:layout_weight="1"
- android:padding="10dp"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:background="@drawable/border_right">
- <ImageView
- android:id="@+id/tv_img_money"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_horizontal"
- android:src="@drawable/ic_minimum_transaction" />
- <TextView
- android:id="@+id/tv_min_transc"
- android:textSize="13sp"
- android:layout_marginTop="0dp"
- android:textColor="@color/half_black"
- android:text="Minimum Transaction"
- android:gravity="center"
- android:fontFamily="@font/poppins_regular"
- android:minLines="1"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- <TextView
- android:id="@+id/tv_money_transc"
- android:textSize="13sp"
- android:layout_marginTop="0dp"
- android:textColor="@color/half_black"
- android:text="Rp 1.500.000"
- android:fontFamily="@font/poppins_regular"
- android:gravity="center_horizontal"
- android:layout_width="match_parent"
- android:layout_height="match_parent" />
- </LinearLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="2dp"
- android:layout_marginTop="0dp"
- android:background="@color/dash" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:gravity="center"
- android:padding="10dp">
- <ImageView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/ic_coupon_promo"
- android:textColor="@android:color/black"
- android:textSize="14sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginStart="10dp"
- android:text="Promo Code"
- android:fontFamily="@font/poppins_regular"
- android:textColor="@android:color/black"
- android:textSize="14sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:gravity="center"
- android:padding="10dp">
- <TextView
- android:id="@+id/tv_code_promo"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:text="MDRHOKI"
- android:fontFamily="@font/poppins_regular"
- android:background="@drawable/btn_blue"
- android:src="@drawable/ic_money"
- android:gravity="center"
- android:paddingStart="10dp"
- android:paddingEnd="10dp"
- android:textColor="@android:color/holo_red_dark"
- android:textSize="13sp" />
- <TextView
- android:id="@+id/tv_copy_code"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:layout_marginStart="0dp"
- android:background="@drawable/btn_borderblue"
- android:text="Copy Code"
- android:clickable="true"
- android:fontFamily="@font/poppins_thin"
- android:gravity="center"
- android:paddingStart="10dp"
- android:paddingEnd="10dp"
- android:textColor="@color/black_semi_transparent"
- android:textSize="13sp" />
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="2dp"
- android:layout_marginTop="16dp"
- android:background="@color/dash" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:gravity="center"
- android:padding="10dp">
- <TextView
- android:visibility="gone"
- android:layout_width="wrap_content"
- android:layout_height="40dp"
- android:text="Terms & Conditions"
- android:gravity="center"
- android:paddingStart="10dp"
- android:paddingEnd="10dp"
- android:textColor="@android:color/black"
- android:textSize="13sp" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- android:padding="10dp">
- <!--<com.skyhope.showmoretextview.ShowMoreTextView-->
- <!--android:id="@+id/tv_terms"-->
- <!--android:layout_width="match_parent"-->
- <!--android:layout_height="wrap_content"-->
- <!--android:layout_marginTop="2dp"-->
- <!--android:text="@string/lorem"-->
- <!--android:textColor="@color/black_semi_transparent"-->
- <!--android:textSize="13sp" />-->
- <TextView
- android:id="@+id/tv_terms_info"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_marginTop="2dp"
- android:fontFamily="@font/poppins_regular"
- android:text="@string/lorem"
- android:textSize="12dp"/>
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <Button
- 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="5dp"
- android:layout_marginBottom="20dp"
- android:background="@drawable/btn_change"
- android:paddingStart="40dp"
- android:paddingEnd="40dp"
- android:text="CHECK NOW"
- android:fontFamily="@font/poppins_regular"
- android:textAllCaps="false"
- android:textColor="@android:color/white"
- android:textSize="13sp"
- android:textStyle="bold" />
- </LinearLayout>
- </android.support.v4.widget.NestedScrollView>
- <!--</FrameLayout>-->
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement