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"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- tools:context="codelabs.ambarrukmo.activity.PaymentMethodActivity">
- <android.support.v7.widget.Toolbar
- android:id="@+id/toolbar"
- android:layout_width="match_parent"
- android:layout_height="?attr/actionBarSize"
- android:background="@android:color/transparent"
- android:layout_marginTop="20dp"
- 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="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:src="@drawable/ic_chevron_left"
- android:tint="@color/grey500" />
- <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="0dp"
- android:text="Payment Method"
- android:textColor="@color/grey500"
- android:textSize="16sp"
- android:textStyle="bold" />
- </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:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="16dp">
- <TextView
- android:id="@+id/tv_total_payment"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@android:color/black"
- android:textSize="14sp"
- android:textStyle="bold"
- android:text="Rp 789.000" />
- <TextView
- android:id="@+id/tv_billing_detail"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:textColor="@color/colorPrimary"
- android:text="Billing Details"
- android:textSize="13sp"
- android:textStyle="bold" />
- </RelativeLayout>
- </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