143 lines
6.1 KiB
XML
143 lines
6.1 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
|
android:orientation="vertical">
|
||
|
|
<LinearLayout
|
||
|
|
android:backgroundTint="@color/white"
|
||
|
|
android:background="@drawable/blue_fill__rounded_color"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_margin="@dimen/_20dp">
|
||
|
|
<LinearLayout
|
||
|
|
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_weight="0.8"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Split Payment"
|
||
|
|
android:textSize="20dp"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/manropeextrabold"/>
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/closebtn_SP"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.2"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_height="match_parent">
|
||
|
|
<ImageView
|
||
|
|
android:tint="@color/black"
|
||
|
|
android:layout_width="15dp"
|
||
|
|
android:layout_height="15dp"
|
||
|
|
android:src="@drawable/close_1">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Total Amount : "
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/popins_medimum">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/splittotalamt"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/popins_medimum">
|
||
|
|
</TextView>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="Remaining Balance : "
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/popins_medimum">
|
||
|
|
</TextView>
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/remainingamt"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:text="0"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:fontFamily="@font/popins_medimum">
|
||
|
|
</TextView>
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="end"
|
||
|
|
android:gravity="end">
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/addicon"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginRight="20dp"
|
||
|
|
android:src="@drawable/add_circle">
|
||
|
|
</ImageView>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<com.google.android.material.textfield.TextInputLayout
|
||
|
|
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:hint="Payment amount">
|
||
|
|
<com.google.android.material.textfield.TextInputEditText
|
||
|
|
android:id="@+id/enterpaymentsplitamt"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:inputType="number"
|
||
|
|
android:layout_marginEnd="@dimen/dp_10">
|
||
|
|
</com.google.android.material.textfield.TextInputEditText>
|
||
|
|
</com.google.android.material.textfield.TextInputLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<ScrollView
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_5"
|
||
|
|
android:layout_marginBottom="20dp"
|
||
|
|
android:id="@+id/dynamicaddview"
|
||
|
|
android:orientation="vertical">
|
||
|
|
</LinearLayout>
|
||
|
|
</ScrollView>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|