diff --git a/app/build.gradle b/app/build.gradle
index 790a929..7cb9e11 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -5,12 +5,12 @@ plugins {
android {
namespace 'com.nivesh.production.bajajfd'
- compileSdk 32
+ compileSdk 33
defaultConfig {
applicationId "com.nivesh.production.bajajfd"
minSdk 21
- targetSdk 32
+ targetSdk 33
versionCode 1
versionName "1.0"
diff --git a/app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepStartFragment.kt b/app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepStartFragment.kt
index 45271bb..b37e4bc 100644
--- a/app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepStartFragment.kt
+++ b/app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepStartFragment.kt
@@ -46,9 +46,9 @@ class StepStartFragment : Fragment() {
_binding = FragmentStepStartBinding.inflate(inflater,container,false)
val root = binding.root
- binding.txtInterestTenure.setOnClickListener {
-
- }
+// binding.txtInterestTenure.setOnClickListener {
+//
+// }
binding.btnNext.setOnClickListener {
bajajFDInterface.stepOneApi("stepOneResponse")
diff --git a/app/src/main/res/drawable/bajaj_logo.png b/app/src/main/res/drawable/bajaj_logo.png
new file mode 100644
index 0000000..906f1fc
Binary files /dev/null and b/app/src/main/res/drawable/bajaj_logo.png differ
diff --git a/app/src/main/res/layout/fragment_bajaj_f_d_step_one.xml b/app/src/main/res/layout/fragment_bajaj_f_d_step_one.xml
index 58da278..e3d10cb 100644
--- a/app/src/main/res/layout/fragment_bajaj_f_d_step_one.xml
+++ b/app/src/main/res/layout/fragment_bajaj_f_d_step_one.xml
@@ -12,144 +12,144 @@
android:padding="@dimen/_2sdp"
android:orientation="vertical">
-
-
-
-
-
-
-
+
+ android:text="Rating: FAAA by CRISIL"
+ android:textColor="@color/light_text" />
-
+ android:textSize="@dimen/text_size_12" />
-
-
-
-
-
+
-
+
+
+
+
+
-
+
-
+
+ android:layout_marginTop="@dimen/_7sdp"
+ android:text="@string/select_interest_tenure"
+ android:textColor="@color/text_default"
+ android:textSize="@dimen/text_size_12" />
+
+
-
+ android:gravity="center_vertical"
+ android:layout_marginTop="@dimen/_10sdp"
+ android:orientation="horizontal">
-
+
+
+
+
+
@@ -171,16 +171,16 @@
android:layout_marginTop="@dimen/margin_15"
android:orientation="vertical">
-
+
-
+
-
+
diff --git a/app/src/main/res/layout/fragment_step_four.xml b/app/src/main/res/layout/fragment_step_four.xml
index 20bf056..9591533 100644
--- a/app/src/main/res/layout/fragment_step_four.xml
+++ b/app/src/main/res/layout/fragment_step_four.xml
@@ -5,142 +5,197 @@
android:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@color/color_EFEFEF"
android:layout_margin="@dimen/margin_10"
+ android:background="@color/color_EFEFEF"
tools:context="com.nivesh.production.bajajfd.ui.fragment.StepFourFragment">
-
-
+ android:layout_height="wrap_content"
+ android:layout_marginLeft="@dimen/margin_5"
+ android:layout_marginTop="@dimen/margin_5"
+ android:layout_marginRight="@dimen/margin_5"
+ android:padding="@dimen/margin_10">
-
+ app:layout_constraintTop_toTopOf="parent"
+ app:layout_constraintVertical_bias="1.0">
-
+
-
+
-
+
-
+
-
+ app:cardBackgroundColor="@color/bg_color"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="1.0"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/card_view_1"
+ app:layout_constraintVertical_bias="0.0">
-
+ android:padding="@dimen/margin_10"
+ app:layout_constraintBottom_toBottomOf="parent">
-
+
-
+
+
+
+
+
+
+
+
+
-
+
+
+
+
+
+
+
-
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_step_one.xml b/app/src/main/res/layout/fragment_step_one.xml
index 12c48a6..cb6aef8 100644
--- a/app/src/main/res/layout/fragment_step_one.xml
+++ b/app/src/main/res/layout/fragment_step_one.xml
@@ -41,13 +41,26 @@
android:orientation="vertical"
android:padding="10dp">
-
+
+
+
+
+
+
+
+
+
@@ -64,9 +77,9 @@
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="@dimen/margin_10"
+ android:layout_marginTop="@dimen/margin_20"
android:layout_marginBottom="1dp"
- android:text="* Text"
+ android:text="All fields are mandatory other then optional"
android:textColor="@color/light_text"
android:textSize="@dimen/margin_14" />
@@ -150,7 +163,9 @@
android:layout_marginTop="5dp"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
- android:entries="@array/interestPayoutList"/>
+ android:paddingStart="@dimen/margin_10"
+ android:paddingEnd="0dp"
+ android:entries="@array/title"/>
+ android:paddingStart="@dimen/margin_10"
+ android:paddingEnd="0dp"
+ android:entries="@array/gender" />
+ android:paddingStart="@dimen/margin_10"
+ android:paddingEnd="0dp"
+ android:entries="@array/maritalStatus"/>
+
+
+
+
+
+
-
+ android:background="@color/grey_bg">
+
+
+
+
+
+
@@ -706,8 +753,8 @@
android:layout_centerVertical="true"
android:layout_marginTop="12dp"
android:padding="@dimen/margin_3"
- android:text="View available payment modes"
- android:textColor="@color/text_color_blue"
+ android:text="Eligible bank option"
+ android:textColor="@color/blue_text_color"
tools:layout_editor_absoluteX="5dp" />
@@ -715,6 +762,7 @@
+
+
diff --git a/app/src/main/res/layout/fragment_step_start.xml b/app/src/main/res/layout/fragment_step_start.xml
index 837d362..12e64c8 100644
--- a/app/src/main/res/layout/fragment_step_start.xml
+++ b/app/src/main/res/layout/fragment_step_start.xml
@@ -5,306 +5,364 @@
android:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_gravity="center_vertical"
- android:background="@color/Nivesh_color_AppBg"
+ android:background="@color/color_EFEFEF"
tool:context="com.nivesh.production.bajajfd.ui.fragment.StepOneFragment">
+ android:layout_marginLeft="@dimen/margin_5"
+ android:layout_marginRight="@dimen/margin_5"
+ android:layout_marginTop="@dimen/margin_10"
+ app:layout_constraintTop_toTopOf="parent">
-
-
-
+ android:orientation="vertical">
+
+
-
+ android:padding="@dimen/margin_10">
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+ android:hint="Select Investment Amount"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tv_fd_rating"
+ app:layout_constraintVertical_bias="0.02">
+ android:maxLength="12" />
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
-
-
-
+
-
+
+ android:layout_marginTop="@dimen/margin_15"
+ android:text="@string/upto_0.25"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintHorizontal_bias="0.0"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/tvInterestTenure"
+ app:layout_constraintVertical_bias="0.018" />
+
+
+
+
+
+
-
+ android:background="@color/grey_bg"
+ android:padding="@dimen/margin_10"
+ android:text="@string/maturity_instructions"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/text_size_12"
+ 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"
+ app:layout_constraintVertical_bias="0.02" />
-
+
-
+
-
+
-
+
-
-
-
-
-
-
-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+ android:padding="@dimen/margin_20">
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="@color/text_color_dark"
- android:textSize="@dimen/margin_16"
android:drawablePadding="@dimen/margin_10"
- android:text="Non- Cumulative ROI:"/>
+ android:text="Non- Cumulative ROI:"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/margin_16" />
+ android:textSize="@dimen/margin_16" />
@@ -342,19 +400,19 @@ Company for the same"/>
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="@color/text_color_dark"
- android:textSize="@dimen/margin_16"
android:drawablePadding="@dimen/margin_10"
- android:text="Regular Interest Payment:"/>
+ android:text="Regular Interest Payment:"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/margin_16" />
+ android:textSize="@dimen/margin_16" />
@@ -368,41 +426,42 @@ Company for the same"/>
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:textColor="@color/text_color_dark"
- android:textSize="@dimen/margin_16"
android:drawablePadding="@dimen/margin_10"
- android:text="Maturity Amount:"/>
+ android:text="Maturity Amount:"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/margin_16" />
+ android:textSize="@dimen/margin_16" />
-
-
+
-
+
-
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_step_three.xml b/app/src/main/res/layout/fragment_step_three.xml
index 8905239..c61a9b3 100644
--- a/app/src/main/res/layout/fragment_step_three.xml
+++ b/app/src/main/res/layout/fragment_step_three.xml
@@ -38,18 +38,30 @@
android:layout_height="match_parent"
android:paddingBottom="@dimen/margin_10">
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+ app:layout_constraintTop_toTopOf="parent"
+ android:contentDescription="@string/content_description"/>
+ app:layout_constraintTop_toBottomOf="@+id/logo" />
+ app:layout_constraintTop_toBottomOf="@+id/lblMakePayment"
+ app:layout_constraintVertical_bias="0.0" />
@@ -305,6 +320,7 @@
android:layout_marginTop="8dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="8dp"
+ android:textSize="@dimen/margin_8"
android:text="I am not a citizen, national or tax resident of any country outside of India"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -316,11 +332,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
- android:layout_marginTop="25dp"
- app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
- app:layout_constraintTop_toBottomOf="@+id/switch7"
- app:layout_constraintVertical_bias="0.0" />
+ app:layout_constraintTop_toBottomOf="@+id/switch7" />
-
-
-
+ android:layout_height="wrap_content"
+ android:foreground="?android:attr/selectableItemBackground"
+ android:padding="@dimen/margin_10"
+ app:cardElevation="1dp"
+ app:cardUseCompatPadding="true"
+ app:layout_constraintEnd_toEndOf="parent"
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toTopOf="parent">
-
+ android:layout_height="match_parent"
+ android:padding="@dimen/margin_10"
+ android:paddingBottom="@dimen/margin_30">
-
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
+
+
+
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/app/src/main/res/layout/fragmnet_step_fail.xml b/app/src/main/res/layout/fragmnet_step_fail.xml
new file mode 100644
index 0000000..c854413
--- /dev/null
+++ b/app/src/main/res/layout/fragmnet_step_fail.xml
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/header_progress_layout.xml b/app/src/main/res/layout/header_progress_layout.xml
index 24bf2a1..93cb230 100644
--- a/app/src/main/res/layout/header_progress_layout.xml
+++ b/app/src/main/res/layout/header_progress_layout.xml
@@ -18,11 +18,11 @@
android:layout_gravity="center"
android:layout_marginStart="24sp"/>
-
+
@@ -105,4 +105,4 @@
-
+
\ No newline at end of file
diff --git a/app/src/main/res/layout/test_layout.xml b/app/src/main/res/layout/test_layout.xml
index ecde162..d44d8fe 100644
--- a/app/src/main/res/layout/test_layout.xml
+++ b/app/src/main/res/layout/test_layout.xml
@@ -1,808 +1,350 @@
+ tool:context="com.nivesh.production.bajajfd.ui.fragment.StepOneFragment">
-
-
-
-
-
-
-
-
-
+ android:layout_height="wrap_content"
+ android:padding="@dimen/_2sdp"
+ android:orientation="vertical">
-
+
+ android:text="Ratings: CRISIL AAA/Stable & ICRA AAA/Stable"
+ android:textColor="@color/light_text" />
-
-
-
-
-
+
+
+ android:hint="Select Investment Amount">
-
+
-
-
-
+
-
+
-
-
-
-
-
+ android:layout_marginTop="@dimen/margin_18"
+ android:text="@string/select_interest_payout"
+ android:textColor="@color/text_default"
+ android:textSize="@dimen/text_size_12" />
-
-
-
-
+ android:layout_height="@dimen/margin_50"
+ android:background="@drawable/rounded_corner_with_line"
+ android:entries="@array/intrest_payout_list"/>
-
-
-
-
-
+ android:layout_marginTop="@dimen/_7sdp"
+ android:text="@string/select_interest_tenure"
+ android:textColor="@color/text_default"
+ android:textSize="@dimen/text_size_12" />
-
-
-
-
-
-
-
+ android:layout_height="@dimen/margin_50"
+ android:layout_marginTop="@dimen/_2sdp"
+ android:background="@drawable/rounded_corner_with_line"
+ android:drawableEnd="@drawable/ic_arrow_down"
+ android:gravity="center_vertical"
+ android:hint="@string/tv_select_hint"
+ android:paddingLeft="@dimen/_5sdp"
+ android:paddingRight="@dimen/margin_30"
+ android:text=""
+ android:textColor="@color/text_default"
+ android:textSize="@dimen/text_size_16" />
-
-
-
-
-
-
-
+ android:gravity="center_vertical"
+ android:layout_marginTop="@dimen/_10sdp"
+ android:orientation="horizontal">
-
-
-
-
-
+ android:text="@string/upto_0.25" />
-
-
-
+ android:textColor="@color/black"
+ android:layout_marginLeft="@dimen/_2sdp"
+ android:text="@string/upto_0.25_next" />
-
+
-
+
-
-
-
-
-
+
-
+
-
-
-
-
-
+ android:padding="@dimen/margin_10"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/text_size_12"
+ android:drawableLeft="@drawable/svg_grey_bullet"
+ android:drawablePadding="@dimen/margin_10"
+ android:text="@string/additional_detail_one"/>
-
-
-
-
-
+ android:padding="@dimen/margin_10"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/text_size_12"
+ android:drawableLeft="@drawable/svg_grey_bullet"
+ android:drawablePadding="@dimen/margin_10"
+ android:text="@string/additional_detail_two"/>
-
-
-
+ android:padding="@dimen/margin_10"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/text_size_12"
+ android:drawableLeft="@drawable/svg_grey_bullet"
+ android:drawablePadding="@dimen/margin_10"
+ android:text="@string/additional_detail_three"/>
-
+
-
-
-
-
-
+ android:padding="@dimen/margin_10"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/text_size_12"
+ android:drawablePadding="@dimen/margin_10"
+ android:text="Please ensure to upload the Form 15 G / H, when you receive a mail from the
+Company for the same"/>
-
-
-
-
-
+ android:padding="@dimen/margin_10"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/text_size_12"
+ android:drawableLeft="@drawable/svg_grey_bullet"
+ android:drawablePadding="@dimen/margin_10"
+ android:text="@string/deduct_tds"/>
-
-
-
-
-
+ android:paddingLeft="@dimen/margin_10"
+ android:paddingRight="@dimen/margin_10"
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/text_size_12"
+ android:text="In case you are eligible for non deduction of TDS then please submit
+15G/H form to Bajaj or Nivesh team"/>
-
+
-
-
-
+ android:orientation="vertical"
+ android:padding="@dimen/margin_20"
+ android:background="@color/bg_color_info"
+ android:gravity="center">
-
-
-
-
-
-
-
+ android:gravity="center"
+ android:orientation="horizontal">
-
-
-
-
-
-
-
-
-
+
+
+ android:textColor="@color/text_color_blue"
+ android:textSize="@dimen/margin_16"
+ android:layout_marginLeft="@dimen/margin_2"
+ android:text="7.5 %"/>
-
+
-
-
-
-
-
+ android:gravity="center"
+ android:orientation="horizontal">
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+ android:textColor="@color/text_color_blue"
+ android:textSize="@dimen/margin_16"
+ android:layout_marginLeft="@dimen/margin_2"
+ android:text="Quarterly"/>
-
+
-
-
-
-
-
-
-
+ android:gravity="center"
+ android:orientation="horizontal">
-
-
-
+ android:textColor="@color/text_color_dark"
+ android:textSize="@dimen/margin_16"
+ android:drawablePadding="@dimen/margin_10"
+ android:text="Maturity Amount:"/>
+
+
-
+
-
+
-
+
-
-
-
-
-
-
-
+ app:layout_constraintStart_toStartOf="parent"
+ app:layout_constraintTop_toBottomOf="@+id/scrollView" />
-
+
\ No newline at end of file
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index e773b8f..670d2e0 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -1190,7 +1190,7 @@
#323131
#F0EBEF
#E9161E
- #A1A1A1
+ #A2A2A2
#D9D9D9
#E2DEDE
#0B0B0B
@@ -1209,5 +1209,6 @@
#26673AB7
#F4EEEE
#673AB7
+ #0E0E0E
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 806f021..be619ec 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -54,6 +54,7 @@
Guardian Age (Optional)
Guardian Address (Optional)
Guardian PinCode (Optional)
+ content description
- Interest Payout
@@ -72,8 +73,30 @@
+ - Select Title
- Mr
- Mrs
+
+ - Select Gender
+ - Male
+ - Female
+
+
+
+ - Marital Status
+ - Married
+ - Unmarried
+
+
+
+ - Interest Payout
+ - On Maturity
+ - Monthly
+ - Quarterly
+ - Half Yearly
+ - Yearly
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/style.xml b/app/src/main/res/values/style.xml
index ce4bfe9..e42ad18 100644
--- a/app/src/main/res/values/style.xml
+++ b/app/src/main/res/values/style.xml
@@ -30,14 +30,14 @@
+
+
+
\ No newline at end of file