From 6bdfa1c3f8d93da6142972caae545072e95041ca Mon Sep 17 00:00:00 2001 From: Hemant Khadase Date: Wed, 7 Dec 2022 21:43:02 +0530 Subject: [PATCH] code change in step three xml --- .idea/dbnavigator.xml | 14 ++- .../bajajfd/ui/fragment/StepOneFragment.kt | 3 - .../main/res/layout/fragment_step_three.xml | 96 +++++++++---------- app/src/main/res/layout/fragment_step_two.xml | 6 +- app/src/main/res/values/strings.xml | 10 +- 5 files changed, 68 insertions(+), 61 deletions(-) diff --git a/.idea/dbnavigator.xml b/.idea/dbnavigator.xml index 113759e..f174d17 100644 --- a/.idea/dbnavigator.xml +++ b/.idea/dbnavigator.xml @@ -2,15 +2,27 @@ - + + + + + + + + + + + + + diff --git a/app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepOneFragment.kt b/app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepOneFragment.kt index 06efbd9..1ea2fc9 100644 --- a/app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepOneFragment.kt +++ b/app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepOneFragment.kt @@ -1,12 +1,9 @@ package com.nivesh.production.bajajfd.ui.fragment -import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup -import android.widget.LinearLayout -import android.widget.TextView import androidx.fragment.app.Fragment import androidx.lifecycle.ViewModelProvider import com.nivesh.production.bajajfd.`interface`.BajajFDInterface diff --git a/app/src/main/res/layout/fragment_step_three.xml b/app/src/main/res/layout/fragment_step_three.xml index 266255a..8905239 100644 --- a/app/src/main/res/layout/fragment_step_three.xml +++ b/app/src/main/res/layout/fragment_step_three.xml @@ -87,11 +87,12 @@ android:layout_height="wrap_content" android:paddingStart="@dimen/_5sdp" android:paddingEnd="@dimen/_5sdp" + android:layout_marginStart="@dimen/_5sdp" android:text="Invested Amount" android:textSize="@dimen/text_size_14" - app:layout_constraintBottom_toBottomOf="@id/lblTenure" - app:layout_constraintStart_toStartOf="@+id/tvMakePayment" - app:layout_constraintTop_toTopOf="@+id/tvInvestedAmount" + app:layout_constraintTop_toBottomOf="@+id/tvMakePayment" + app:layout_constraintBottom_toTopOf="@id/lblTenure" + app:layout_constraintStart_toStartOf="parent" app:layout_constraintVertical_bias="0.0" /> + app:layout_constraintTop_toBottomOf="@+id/lblMakePayment" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintBottom_toTopOf="@+id/lblInterestPayout" /> @@ -180,27 +184,32 @@ style="@style/tv_regular" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:layout_marginStart="14dp" - android:layout_marginTop="12dp" - android:layout_marginBottom="19dp" + android:paddingStart="@dimen/_5sdp" + android:paddingEnd="@dimen/_5sdp" + android:layout_marginStart="@dimen/_5sdp" android:text="Rate of Interest" android:textSize="@dimen/text_size_14" app:layout_constraintBottom_toTopOf="@+id/tvMakePayment2" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/lblInterestPayout" /> + app:layout_constraintTop_toBottomOf="@+id/lblInterestPayout" + app:layout_constraintVertical_bias="0.0" /> + app:layout_constraintTop_toBottomOf="@+id/switch4" /> + app:layout_constraintTop_toBottomOf="@+id/switch5" /> + app:layout_constraintTop_toBottomOf="@+id/switch7" /> @@ -347,7 +346,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_vertical" - android:layout_marginTop="24dp" + android:layout_marginTop="10dp" android:layout_marginBottom="10dp" android:backgroundTint="@color/blue" android:text="@string/back" @@ -355,7 +354,6 @@ app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toStartOf="@+id/btnNext" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toBottomOf="@+id/card_view_1" app:layout_constraintVertical_bias="0.812" /> Select Interest Payout Select Investment Tenure Select - Upto 0.25% p.a for + Up to 0.25% p.a for Senior Citizens, 60+ Additional Details Automatically credit to my bank account Automatically renew principal amount Automatically renew both principal and interest amount - Maturity Instrutions: + Maturity Instructions: Deduct TDS (Income is taxable) Next Once you click on PAY, your order will be placed and you will be redirected to payment gateway. @@ -43,8 +43,8 @@ viewpager Tax Deducted at Source (TDS): Address Proof Type * - Aadhar front * - Aadhar Back * + Aadhaar front * + Aadhaar Back * PAN Upload * Photo Upload * I undertake to inform company any change in status of my nationality or tax residence. I am making investment from my Indian resident Individual Savings bank account. I/ We confirm that 1/we have read and understood the detailed terms and conditions annexed to this Application including the interest rate and other charges. I have gone through the financials and other statements/particulars representations furnished/made by the company and after careful consideration I am making the deposit with the company at my own risk and volition. I have read and agree to the Terms & conditions @@ -65,7 +65,7 @@ - Aadhar Card + Aadhaar Card PAN Voter Id Driving Licence