Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <androidx.constraintlayout.widget.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"
- android:background="@color/white"
- tools:context=".CheckoutPPOB">
- <!--Toolbar-->
- <com.google.android.material.appbar.AppBarLayout
- android:id="@+id/appbarlayout"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.appcompat.widget.Toolbar
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <ImageView
- android:id="@+id/back"
- android:layout_width="24dp"
- android:layout_height="24dp"
- android:src="@drawable/ic_back" />
- <TextView
- android:id="@+id/title"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="20dp"
- android:layout_toRightOf="@+id/back"
- android:fontFamily="@font/overpass_bold"
- android:text="Pembayaran"
- android:textColor="@color/black"
- android:textSize="17sp"/>
- </RelativeLayout>
- </androidx.appcompat.widget.Toolbar>
- </com.google.android.material.appbar.AppBarLayout>
- <ProgressBar
- android:id="@+id/loading"
- style="?android:attr/progressBarStyleHorizontal"
- android:layout_width="match_parent"
- android:layout_height="11dp"
- android:indeterminate="true"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="1.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/appbarlayout" />
- <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
- android:layout_width="0dp"
- android:layout_height="0dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/appbarlayout">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <!--Body-->
- <androidx.core.widget.NestedScrollView
- android:id="@+id/nestedScrollView"
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:fillViewport="true"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent">
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline16"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintGuide_percent=".04"
- android:orientation="vertical" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline17"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- app:layout_constraintGuide_percent=".96"
- android:orientation="vertical" />
- <androidx.constraintlayout.widget.ConstraintLayout
- android:id="@+id/constraintLayout_tagihan"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="15dp"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.cardview.widget.CardView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dp"
- android:layout_marginRight="15dp"
- android:layout_marginBottom="10dp"
- android:layout_marginTop="10dp"
- app:cardCornerRadius="10dp"
- app:cardElevation="3dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toTopOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingBottom="15dp">
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline18"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- app:layout_constraintGuide_percent=".23" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline19"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent=".04" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline20"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent=".96" />
- <androidx.constraintlayout.widget.Guideline
- android:id="@+id/guideline21"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="vertical"
- app:layout_constraintGuide_percent=".5" />
- <TextView
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:fontFamily="@font/overpass_bold"
- android:text="Tagihan"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="10dp"
- android:textColor="@color/black1"
- android:textSize="14sp"
- app:layout_constraintBottom_toTopOf="@+id/guideline18"
- app:layout_constraintEnd_toStartOf="@+id/guideline20"
- app:layout_constraintStart_toStartOf="@+id/guideline19"
- app:layout_constraintTop_toTopOf="parent" />
- <View
- android:id="@+id/view3"
- android:layout_width="wrap_content"
- android:layout_height="1dp"
- android:background="@color/white_gray"
- android:orientation="horizontal"
- app:layout_constraintBottom_toTopOf="@+id/guideline18"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="0.0"
- app:layout_constraintStart_toStartOf="parent" />
- <androidx.recyclerview.widget.RecyclerView
- android:id="@+id/recyclerView_tagihan"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toStartOf="@+id/guideline20"
- app:layout_constraintStart_toStartOf="@+id/guideline19"
- app:layout_constraintTop_toBottomOf="@+id/view3"
- android:scrollbarThumbVertical="@null">
- </androidx.recyclerview.widget.RecyclerView>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.cardview.widget.CardView>
- </androidx.constraintlayout.widget.ConstraintLayout>
- <TextView
- android:id="@+id/text_metode_pembayaran"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginTop="15dp"
- android:fontFamily="@font/overpass_bold"
- android:textColor="@color/black"
- android:text="Metode Pembayaran"
- android:textSize="14sp"
- app:layout_constraintEnd_toStartOf="@+id/guideline17"
- app:layout_constraintStart_toStartOf="@+id/guideline16"
- app:layout_constraintTop_toBottomOf="@+id/constraintLayout_tagihan" />
- <androidx.cardview.widget.CardView
- android:id="@+id/card_metode_pembayaran"
- android:layout_width="0dp"
- android:layout_height="200dp"
- app:cardCornerRadius="10dp"
- android:layout_marginTop="10dp"
- app:cardElevation="3dp"
- app:layout_constraintEnd_toStartOf="@+id/guideline17"
- app:layout_constraintStart_toStartOf="@+id/guideline16"
- app:layout_constraintTop_toBottomOf="@+id/text_metode_pembayaran">
- </androidx.cardview.widget.CardView>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.core.widget.NestedScrollView>
- </androidx.constraintlayout.widget.ConstraintLayout>
- </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
- </androidx.constraintlayout.widget.ConstraintLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement