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" /> - - + - +