Browse Source

lib push

PankajBranch
Hemant Khadase 2 years ago
commit
dd3e66e87c
91 changed files with 7394 additions and 0 deletions
  1. +15
    -0
      .gitignore
  2. +3
    -0
      .idea/.gitignore
  3. +6
    -0
      .idea/compiler.xml
  4. +414
    -0
      .idea/dbnavigator.xml
  5. +19
    -0
      .idea/gradle.xml
  6. +17
    -0
      .idea/misc.xml
  7. +6
    -0
      .idea/vcs.xml
  8. +1
    -0
      app/.gitignore
  9. +85
    -0
      app/build.gradle
  10. +21
    -0
      app/proguard-rules.pro
  11. +24
    -0
      app/src/androidTest/java/com/nivesh/production/bajajfd/ExampleInstrumentedTest.kt
  12. +32
    -0
      app/src/main/AndroidManifest.xml
  13. +6
    -0
      app/src/main/java/com/nivesh/production/bajajfd/BajajApplication.kt
  14. +30
    -0
      app/src/main/java/com/nivesh/production/bajajfd/adapter/SectionsPagerAdapter.kt
  15. +29
    -0
      app/src/main/java/com/nivesh/production/bajajfd/api/RetrofitInstance.kt
  16. +8
    -0
      app/src/main/java/com/nivesh/production/bajajfd/interface/BajajFDInterface.kt
  17. +156
    -0
      app/src/main/java/com/nivesh/production/bajajfd/ui/activity/BajajFdMainActivity.kt
  18. +63
    -0
      app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepFourFragment.kt
  19. +73
    -0
      app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepOneFragment.kt
  20. +64
    -0
      app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepStartFragment.kt
  21. +63
    -0
      app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepThreeFragment.kt
  22. +63
    -0
      app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepTwoFragment.kt
  23. +5
    -0
      app/src/main/java/com/nivesh/production/bajajfd/util/Colors.kt
  24. +121
    -0
      app/src/main/java/com/nivesh/production/bajajfd/util/Constants.kt
  25. +10
    -0
      app/src/main/java/com/nivesh/production/bajajfd/util/Resource.kt
  26. +18
    -0
      app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepFourViewModel.kt
  27. +26
    -0
      app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepOneViewModel.kt
  28. +7
    -0
      app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepStartViewModel.kt
  29. +18
    -0
      app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepThreeViewModel.kt
  30. +18
    -0
      app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepTwoViewModel.kt
  31. +30
    -0
      app/src/main/res/drawable-v24/ic_launcher_foreground.xml
  32. +5
    -0
      app/src/main/res/drawable/card_bg.xml
  33. +5
    -0
      app/src/main/res/drawable/cursor_color.xml
  34. +5
    -0
      app/src/main/res/drawable/ic_arrow_down.xml
  35. +170
    -0
      app/src/main/res/drawable/ic_launcher_background.xml
  36. +6
    -0
      app/src/main/res/drawable/rounded_corner_with_line.xml
  37. +6
    -0
      app/src/main/res/drawable/rounded_corner_with_line_blue.xml
  38. +37
    -0
      app/src/main/res/drawable/sp_bg.xml
  39. +11
    -0
      app/src/main/res/drawable/svg_back.xml
  40. +36
    -0
      app/src/main/res/drawable/svg_cal.xml
  41. +5
    -0
      app/src/main/res/drawable/svg_down_arrow.xml
  42. +14
    -0
      app/src/main/res/drawable/svg_grey_bullet.xml
  43. +17
    -0
      app/src/main/res/drawable/svg_rs.xml
  44. +5
    -0
      app/src/main/res/drawable/svg_star.xml
  45. +13
    -0
      app/src/main/res/drawable/svg_step_process.xml
  46. +23
    -0
      app/src/main/res/font/font.xml
  47. BIN
      app/src/main/res/font/robotoblack.ttf
  48. BIN
      app/src/main/res/font/robotobold.ttf
  49. BIN
      app/src/main/res/font/robotolight.ttf
  50. BIN
      app/src/main/res/font/robotomedium.ttf
  51. BIN
      app/src/main/res/font/robotoregular.ttf
  52. BIN
      app/src/main/res/font/robotothin.ttf
  53. +147
    -0
      app/src/main/res/layout/bajaj_fd_main_activity.xml
  54. +128
    -0
      app/src/main/res/layout/bank_detail_select.xml
  55. +330
    -0
      app/src/main/res/layout/fragment_bajaj_f_d_step_one.xml
  56. +146
    -0
      app/src/main/res/layout/fragment_step_four.xml
  57. +779
    -0
      app/src/main/res/layout/fragment_step_one.xml
  58. +408
    -0
      app/src/main/res/layout/fragment_step_start.xml
  59. +392
    -0
      app/src/main/res/layout/fragment_step_three.xml
  60. +286
    -0
      app/src/main/res/layout/fragment_step_two.xml
  61. +108
    -0
      app/src/main/res/layout/header_progress_layout.xml
  62. +808
    -0
      app/src/main/res/layout/test_layout.xml
  63. +5
    -0
      app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
  64. +5
    -0
      app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
  65. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher.webp
  66. BIN
      app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
  67. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher.webp
  68. BIN
      app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
  69. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher.webp
  70. BIN
      app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
  71. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
  72. BIN
      app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
  73. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
  74. BIN
      app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
  75. +16
    -0
      app/src/main/res/values-night/themes.xml
  76. +111
    -0
      app/src/main/res/values/attr_themes.xml
  77. +1213
    -0
      app/src/main/res/values/colors.xml
  78. +132
    -0
      app/src/main/res/values/dimens.xml
  79. +79
    -0
      app/src/main/res/values/strings.xml
  80. +101
    -0
      app/src/main/res/values/style.xml
  81. +16
    -0
      app/src/main/res/values/themes.xml
  82. +13
    -0
      app/src/main/res/xml/backup_rules.xml
  83. +19
    -0
      app/src/main/res/xml/data_extraction_rules.xml
  84. +17
    -0
      app/src/test/java/com/nivesh/production/bajajfd/ExampleUnitTest.kt
  85. +6
    -0
      build.gradle
  86. +23
    -0
      gradle.properties
  87. BIN
      gradle/wrapper/gradle-wrapper.jar
  88. +6
    -0
      gradle/wrapper/gradle-wrapper.properties
  89. +185
    -0
      gradlew
  90. +89
    -0
      gradlew.bat
  91. +17
    -0
      settings.gradle

+ 15
- 0
.gitignore View File

@ -0,0 +1,15 @@
*.iml
.gradle
/local.properties
/.idea/caches
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
/.idea/navEditor.xml
/.idea/assetWizardSettings.xml
.DS_Store
/build
/captures
.externalNativeBuild
.cxx
local.properties

+ 3
- 0
.idea/.gitignore View File

@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

+ 6
- 0
.idea/compiler.xml View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" />
</component>
</project>

+ 414
- 0
.idea/dbnavigator.xml View File

@ -0,0 +1,414 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="DBNavigator.Project.DataEditorManager">
<record-view-column-sorting-type value="BY_INDEX" />
<value-preview-text-wrapping value="true" />
<value-preview-pinned value="false" />
</component>
<component name="DBNavigator.Project.DatabaseFileManager">
<open-files />
</component>
<component name="DBNavigator.Project.EditorStateManager">
<last-used-providers />
</component>
<component name="DBNavigator.Project.Settings">
<connections />
<browser-settings>
<general>
<display-mode value="TABBED" />
<navigation-history-size value="100" />
<show-object-details value="false" />
</general>
<filters>
<object-type-filter>
<object-type name="SCHEMA" enabled="true" />
<object-type name="USER" enabled="true" />
<object-type name="ROLE" enabled="true" />
<object-type name="PRIVILEGE" enabled="true" />
<object-type name="CHARSET" enabled="true" />
<object-type name="TABLE" enabled="true" />
<object-type name="VIEW" enabled="true" />
<object-type name="MATERIALIZED_VIEW" enabled="true" />
<object-type name="NESTED_TABLE" enabled="true" />
<object-type name="COLUMN" enabled="true" />
<object-type name="INDEX" enabled="true" />
<object-type name="CONSTRAINT" enabled="true" />
<object-type name="DATASET_TRIGGER" enabled="true" />
<object-type name="DATABASE_TRIGGER" enabled="true" />
<object-type name="SYNONYM" enabled="true" />
<object-type name="SEQUENCE" enabled="true" />
<object-type name="PROCEDURE" enabled="true" />
<object-type name="FUNCTION" enabled="true" />
<object-type name="PACKAGE" enabled="true" />
<object-type name="TYPE" enabled="true" />
<object-type name="TYPE_ATTRIBUTE" enabled="true" />
<object-type name="ARGUMENT" enabled="true" />
<object-type name="DIMENSION" enabled="true" />
<object-type name="CLUSTER" enabled="true" />
<object-type name="DBLINK" enabled="true" />
</object-type-filter>
</filters>
<sorting>
<object-type name="COLUMN" sorting-type="NAME" />
<object-type name="FUNCTION" sorting-type="NAME" />
<object-type name="PROCEDURE" sorting-type="NAME" />
<object-type name="ARGUMENT" sorting-type="POSITION" />
<object-type name="TYPE ATTRIBUTE" sorting-type="POSITION" />
</sorting>
<default-editors>
<object-type name="VIEW" editor-type="SELECTION" />
<object-type name="PACKAGE" editor-type="SELECTION" />
<object-type name="TYPE" editor-type="SELECTION" />
</default-editors>
</browser-settings>
<navigation-settings>
<lookup-filters>
<lookup-objects>
<object-type name="SCHEMA" enabled="true" />
<object-type name="USER" enabled="false" />
<object-type name="ROLE" enabled="false" />
<object-type name="PRIVILEGE" enabled="false" />
<object-type name="CHARSET" enabled="false" />
<object-type name="TABLE" enabled="true" />
<object-type name="VIEW" enabled="true" />
<object-type name="MATERIALIZED VIEW" enabled="true" />
<object-type name="INDEX" enabled="true" />
<object-type name="CONSTRAINT" enabled="true" />
<object-type name="DATASET TRIGGER" enabled="true" />
<object-type name="DATABASE TRIGGER" enabled="true" />
<object-type name="SYNONYM" enabled="false" />
<object-type name="SEQUENCE" enabled="true" />
<object-type name="PROCEDURE" enabled="true" />
<object-type name="FUNCTION" enabled="true" />
<object-type name="PACKAGE" enabled="true" />
<object-type name="TYPE" enabled="true" />
<object-type name="DIMENSION" enabled="false" />
<object-type name="CLUSTER" enabled="false" />
<object-type name="DBLINK" enabled="true" />
</lookup-objects>
<force-database-load value="false" />
<prompt-connection-selection value="true" />
<prompt-schema-selection value="true" />
</lookup-filters>
</navigation-settings>
<dataset-grid-settings>
<general>
<enable-zooming value="true" />
<enable-column-tooltip value="true" />
</general>
<sorting>
<nulls-first value="true" />
<max-sorting-columns value="4" />
</sorting>
<audit-columns>
<column-names value="" />
<visible value="true" />
<editable value="false" />
</audit-columns>
</dataset-grid-settings>
<dataset-editor-settings>
<text-editor-popup>
<active value="false" />
<active-if-empty value="false" />
<data-length-threshold value="100" />
<popup-delay value="1000" />
</text-editor-popup>
<values-actions-popup>
<show-popup-button value="true" />
<element-count-threshold value="1000" />
<data-length-threshold value="250" />
</values-actions-popup>
<general>
<fetch-block-size value="100" />
<fetch-timeout value="30" />
<trim-whitespaces value="true" />
<convert-empty-strings-to-null value="true" />
<select-content-on-cell-edit value="true" />
<large-value-preview-active value="true" />
</general>
<filters>
<prompt-filter-dialog value="true" />
<default-filter-type value="BASIC" />
</filters>
<qualified-text-editor text-length-threshold="300">
<content-types>
<content-type name="Text" enabled="true" />
<content-type name="Properties" enabled="true" />
<content-type name="XML" enabled="true" />
<content-type name="DTD" enabled="true" />
<content-type name="HTML" enabled="true" />
<content-type name="XHTML" enabled="true" />
<content-type name="Java" enabled="true" />
<content-type name="SQL" enabled="true" />
<content-type name="PL/SQL" enabled="true" />
<content-type name="JSON" enabled="true" />
<content-type name="JSON5" enabled="true" />
<content-type name="Groovy" enabled="true" />
<content-type name="AIDL" enabled="true" />
<content-type name="YAML" enabled="true" />
<content-type name="Manifest" enabled="true" />
</content-types>
</qualified-text-editor>
<record-navigation>
<navigation-target value="VIEWER" />
</record-navigation>
</dataset-editor-settings>
<code-editor-settings>
<general>
<show-object-navigation-gutter value="false" />
<show-spec-declaration-navigation-gutter value="true" />
<enable-spellchecking value="true" />
<enable-reference-spellchecking value="false" />
</general>
<confirmations>
<save-changes value="false" />
<revert-changes value="true" />
</confirmations>
</code-editor-settings>
<code-completion-settings>
<filters>
<basic-filter>
<filter-element type="RESERVED_WORD" id="keyword" selected="true" />
<filter-element type="RESERVED_WORD" id="function" selected="true" />
<filter-element type="RESERVED_WORD" id="parameter" selected="true" />
<filter-element type="RESERVED_WORD" id="datatype" selected="true" />
<filter-element type="RESERVED_WORD" id="exception" selected="true" />
<filter-element type="OBJECT" id="schema" selected="true" />
<filter-element type="OBJECT" id="role" selected="true" />
<filter-element type="OBJECT" id="user" selected="true" />
<filter-element type="OBJECT" id="privilege" selected="true" />
<user-schema>
<filter-element type="OBJECT" id="table" selected="true" />
<filter-element type="OBJECT" id="view" selected="true" />
<filter-element type="OBJECT" id="materialized view" selected="true" />
<filter-element type="OBJECT" id="index" selected="true" />
<filter-element type="OBJECT" id="constraint" selected="true" />
<filter-element type="OBJECT" id="trigger" selected="true" />
<filter-element type="OBJECT" id="synonym" selected="false" />
<filter-element type="OBJECT" id="sequence" selected="true" />
<filter-element type="OBJECT" id="procedure" selected="true" />
<filter-element type="OBJECT" id="function" selected="true" />
<filter-element type="OBJECT" id="package" selected="true" />
<filter-element type="OBJECT" id="type" selected="true" />
<filter-element type="OBJECT" id="dimension" selected="true" />
<filter-element type="OBJECT" id="cluster" selected="true" />
<filter-element type="OBJECT" id="dblink" selected="true" />
</user-schema>
<public-schema>
<filter-element type="OBJECT" id="table" selected="false" />
<filter-element type="OBJECT" id="view" selected="false" />
<filter-element type="OBJECT" id="materialized view" selected="false" />
<filter-element type="OBJECT" id="index" selected="false" />
<filter-element type="OBJECT" id="constraint" selected="false" />
<filter-element type="OBJECT" id="trigger" selected="false" />
<filter-element type="OBJECT" id="synonym" selected="false" />
<filter-element type="OBJECT" id="sequence" selected="false" />
<filter-element type="OBJECT" id="procedure" selected="false" />
<filter-element type="OBJECT" id="function" selected="false" />
<filter-element type="OBJECT" id="package" selected="false" />
<filter-element type="OBJECT" id="type" selected="false" />
<filter-element type="OBJECT" id="dimension" selected="false" />
<filter-element type="OBJECT" id="cluster" selected="false" />
<filter-element type="OBJECT" id="dblink" selected="false" />
</public-schema>
<any-schema>
<filter-element type="OBJECT" id="table" selected="true" />
<filter-element type="OBJECT" id="view" selected="true" />
<filter-element type="OBJECT" id="materialized view" selected="true" />
<filter-element type="OBJECT" id="index" selected="true" />
<filter-element type="OBJECT" id="constraint" selected="true" />
<filter-element type="OBJECT" id="trigger" selected="true" />
<filter-element type="OBJECT" id="synonym" selected="true" />
<filter-element type="OBJECT" id="sequence" selected="true" />
<filter-element type="OBJECT" id="procedure" selected="true" />
<filter-element type="OBJECT" id="function" selected="true" />
<filter-element type="OBJECT" id="package" selected="true" />
<filter-element type="OBJECT" id="type" selected="true" />
<filter-element type="OBJECT" id="dimension" selected="true" />
<filter-element type="OBJECT" id="cluster" selected="true" />
<filter-element type="OBJECT" id="dblink" selected="true" />
</any-schema>
</basic-filter>
<extended-filter>
<filter-element type="RESERVED_WORD" id="keyword" selected="true" />
<filter-element type="RESERVED_WORD" id="function" selected="true" />
<filter-element type="RESERVED_WORD" id="parameter" selected="true" />
<filter-element type="RESERVED_WORD" id="datatype" selected="true" />
<filter-element type="RESERVED_WORD" id="exception" selected="true" />
<filter-element type="OBJECT" id="schema" selected="true" />
<filter-element type="OBJECT" id="user" selected="true" />
<filter-element type="OBJECT" id="role" selected="true" />
<filter-element type="OBJECT" id="privilege" selected="true" />
<user-schema>
<filter-element type="OBJECT" id="table" selected="true" />
<filter-element type="OBJECT" id="view" selected="true" />
<filter-element type="OBJECT" id="materialized view" selected="true" />
<filter-element type="OBJECT" id="index" selected="true" />
<filter-element type="OBJECT" id="constraint" selected="true" />
<filter-element type="OBJECT" id="trigger" selected="true" />
<filter-element type="OBJECT" id="synonym" selected="true" />
<filter-element type="OBJECT" id="sequence" selected="true" />
<filter-element type="OBJECT" id="procedure" selected="true" />
<filter-element type="OBJECT" id="function" selected="true" />
<filter-element type="OBJECT" id="package" selected="true" />
<filter-element type="OBJECT" id="type" selected="true" />
<filter-element type="OBJECT" id="dimension" selected="true" />
<filter-element type="OBJECT" id="cluster" selected="true" />
<filter-element type="OBJECT" id="dblink" selected="true" />
</user-schema>
<public-schema>
<filter-element type="OBJECT" id="table" selected="true" />
<filter-element type="OBJECT" id="view" selected="true" />
<filter-element type="OBJECT" id="materialized view" selected="true" />
<filter-element type="OBJECT" id="index" selected="true" />
<filter-element type="OBJECT" id="constraint" selected="true" />
<filter-element type="OBJECT" id="trigger" selected="true" />
<filter-element type="OBJECT" id="synonym" selected="true" />
<filter-element type="OBJECT" id="sequence" selected="true" />
<filter-element type="OBJECT" id="procedure" selected="true" />
<filter-element type="OBJECT" id="function" selected="true" />
<filter-element type="OBJECT" id="package" selected="true" />
<filter-element type="OBJECT" id="type" selected="true" />
<filter-element type="OBJECT" id="dimension" selected="true" />
<filter-element type="OBJECT" id="cluster" selected="true" />
<filter-element type="OBJECT" id="dblink" selected="true" />
</public-schema>
<any-schema>
<filter-element type="OBJECT" id="table" selected="true" />
<filter-element type="OBJECT" id="view" selected="true" />
<filter-element type="OBJECT" id="materialized view" selected="true" />
<filter-element type="OBJECT" id="index" selected="true" />
<filter-element type="OBJECT" id="constraint" selected="true" />
<filter-element type="OBJECT" id="trigger" selected="true" />
<filter-element type="OBJECT" id="synonym" selected="true" />
<filter-element type="OBJECT" id="sequence" selected="true" />
<filter-element type="OBJECT" id="procedure" selected="true" />
<filter-element type="OBJECT" id="function" selected="true" />
<filter-element type="OBJECT" id="package" selected="true" />
<filter-element type="OBJECT" id="type" selected="true" />
<filter-element type="OBJECT" id="dimension" selected="true" />
<filter-element type="OBJECT" id="cluster" selected="true" />
<filter-element type="OBJECT" id="dblink" selected="true" />
</any-schema>
</extended-filter>
</filters>
<sorting enabled="true">
<sorting-element type="RESERVED_WORD" id="keyword" />
<sorting-element type="RESERVED_WORD" id="datatype" />
<sorting-element type="OBJECT" id="column" />
<sorting-element type="OBJECT" id="table" />
<sorting-element type="OBJECT" id="view" />
<sorting-element type="OBJECT" id="materialized view" />
<sorting-element type="OBJECT" id="index" />
<sorting-element type="OBJECT" id="constraint" />
<sorting-element type="OBJECT" id="trigger" />
<sorting-element type="OBJECT" id="synonym" />
<sorting-element type="OBJECT" id="sequence" />
<sorting-element type="OBJECT" id="procedure" />
<sorting-element type="OBJECT" id="function" />
<sorting-element type="OBJECT" id="package" />
<sorting-element type="OBJECT" id="type" />
<sorting-element type="OBJECT" id="dimension" />
<sorting-element type="OBJECT" id="cluster" />
<sorting-element type="OBJECT" id="dblink" />
<sorting-element type="OBJECT" id="schema" />
<sorting-element type="OBJECT" id="role" />
<sorting-element type="OBJECT" id="user" />
<sorting-element type="RESERVED_WORD" id="function" />
<sorting-element type="RESERVED_WORD" id="parameter" />
</sorting>
<format>
<enforce-code-style-case value="true" />
</format>
</code-completion-settings>
<execution-engine-settings>
<statement-execution>
<fetch-block-size value="100" />
<execution-timeout value="20" />
<debug-execution-timeout value="600" />
<focus-result value="false" />
<prompt-execution value="false" />
</statement-execution>
<script-execution>
<command-line-interfaces />
<execution-timeout value="300" />
</script-execution>
<method-execution>
<execution-timeout value="30" />
<debug-execution-timeout value="600" />
<parameter-history-size value="10" />
</method-execution>
</execution-engine-settings>
<operation-settings>
<transactions>
<uncommitted-changes>
<on-project-close value="ASK" />
<on-disconnect value="ASK" />
<on-autocommit-toggle value="ASK" />
</uncommitted-changes>
<multiple-uncommitted-changes>
<on-commit value="ASK" />
<on-rollback value="ASK" />
</multiple-uncommitted-changes>
</transactions>
<session-browser>
<disconnect-session value="ASK" />
<kill-session value="ASK" />
<reload-on-filter-change value="false" />
</session-browser>
<compiler>
<compile-type value="KEEP" />
<compile-dependencies value="ASK" />
<always-show-controls value="false" />
</compiler>
<debugger>
<debugger-type value="ASK" />
<use-generic-runners value="true" />
</debugger>
</operation-settings>
<ddl-file-settings>
<extensions>
<mapping file-type-id="VIEW" extensions="vw" />
<mapping file-type-id="TRIGGER" extensions="trg" />
<mapping file-type-id="PROCEDURE" extensions="prc" />
<mapping file-type-id="FUNCTION" extensions="fnc" />
<mapping file-type-id="PACKAGE" extensions="pkg" />
<mapping file-type-id="PACKAGE_SPEC" extensions="pks" />
<mapping file-type-id="PACKAGE_BODY" extensions="pkb" />
<mapping file-type-id="TYPE" extensions="tpe" />
<mapping file-type-id="TYPE_SPEC" extensions="tps" />
<mapping file-type-id="TYPE_BODY" extensions="tpb" />
</extensions>
<general>
<lookup-ddl-files value="true" />
<create-ddl-files value="false" />
<synchronize-ddl-files value="true" />
<use-qualified-names value="false" />
<make-scripts-rerunnable value="true" />
</general>
</ddl-file-settings>
<general-settings>
<regional-settings>
<date-format value="MEDIUM" />
<number-format value="UNGROUPED" />
<locale value="SYSTEM_DEFAULT" />
<use-custom-formats value="false" />
</regional-settings>
<environment>
<environment-types>
<environment-type id="development" name="Development" description="Development environment" color="-2430209/-12296320" readonly-code="false" readonly-data="false" />
<environment-type id="integration" name="Integration" description="Integration environment" color="-2621494/-12163514" readonly-code="true" readonly-data="false" />
<environment-type id="production" name="Production" description="Productive environment" color="-11574/-10271420" readonly-code="true" readonly-data="true" />
<environment-type id="other" name="Other" description="" color="-1576/-10724543" readonly-code="false" readonly-data="false" />
</environment-types>
<visibility-settings>
<connection-tabs value="true" />
<dialog-headers value="true" />
<object-editor-tabs value="true" />
<script-editor-tabs value="false" />
<execution-result-tabs value="true" />
</visibility-settings>
</environment>
</general-settings>
</component>
</project>

+ 19
- 0
.idea/gradle.xml View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GradleMigrationSettings" migrationVersion="1" />
<component name="GradleSettings">
<option name="linkedExternalProjectsSettings">
<GradleProjectSettings>
<option name="testRunner" value="GRADLE" />
<option name="distributionType" value="DEFAULT_WRAPPED" />
<option name="externalProjectPath" value="$PROJECT_DIR$" />
<option name="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

+ 17
- 0
.idea/misc.xml View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
<component name="VisualizationToolProject">
<option name="state">
<ProjectState>
<option name="scale" value="0.18162393162393162" />
</ProjectState>
</option>
</component>
</project>

+ 6
- 0
.idea/vcs.xml View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

+ 1
- 0
app/.gitignore View File

@ -0,0 +1 @@
/build

+ 85
- 0
app/build.gradle View File

@ -0,0 +1,85 @@
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
android {
namespace 'com.nivesh.production.bajajfd'
compileSdk 32
defaultConfig {
applicationId "com.nivesh.production.bajajfd"
minSdk 21
targetSdk 32
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
buildFeatures {
viewBinding true
}
}
ext{
roomVersion="2.4.3"
glideVersion="4.11.0"
}
dependencies {
implementation 'androidx.core:core-ktx:1.9.0'
implementation 'androidx.appcompat:appcompat:1.5.1'
implementation 'com.google.android.material:material:1.7.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.lifecycle:lifecycle-livedata-ktx:2.5.1'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.4'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.0'
// Architectural Components
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
// // Room
// implementation "androidx.room:room-runtime:2.4.3"
// annotationProcessor("androidx.room:room-compiler:$roomVersion")
// implementation "androidx.room:room-ktx:2.4.3"
// Coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.1'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.1'
// Coroutine Lifecycle Scopes
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.1"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.5.1"
// Retrofit
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
implementation "com.squareup.okhttp3:logging-interceptor:4.7.2"
// Navigation Components
implementation "androidx.navigation:navigation-fragment-ktx:2.5.3"
implementation "androidx.navigation:navigation-ui-ktx:2.5.3"
// Glide
// implementation 'com.github.bumptech.glide:glide:4.11.0'
// kapt 'com.github.bumptech.glide:compiler:4.11.0'
// annotationProcessor("androidx.room:room-compiler:$glideVersion")
}

+ 21
- 0
app/proguard-rules.pro View File

@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile

+ 24
- 0
app/src/androidTest/java/com/nivesh/production/bajajfd/ExampleInstrumentedTest.kt View File

@ -0,0 +1,24 @@
package com.nivesh.production.bajajfd
import androidx.test.platform.app.InstrumentationRegistry
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Test
import org.junit.runner.RunWith
import org.junit.Assert.*
/**
* Instrumented test, which will execute on an Android device.
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
@RunWith(AndroidJUnit4::class)
class ExampleInstrumentedTest {
@Test
fun useAppContext() {
// Context of the app under test.
val appContext = InstrumentationRegistry.getInstrumentation().targetContext
assertEquals("com.nivesh.production.bajajfd", appContext.packageName)
}
}

+ 32
- 0
app/src/main/AndroidManifest.xml View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.BajajFdLib"
tools:targetApi="31">
<!-- android:theme="@style/Theme.BajajFdLib" AppTheme-->
<activity
android:name=".ui.activity.BajajFdMainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="android.app.lib_name"
android:value="" />
</activity>
</application>
</manifest>

+ 6
- 0
app/src/main/java/com/nivesh/production/bajajfd/BajajApplication.kt View File

@ -0,0 +1,6 @@
package com.nivesh.production.bajajfd
import android.app.Application
class BajajApplication : Application() {
}

+ 30
- 0
app/src/main/java/com/nivesh/production/bajajfd/adapter/SectionsPagerAdapter.kt View File

@ -0,0 +1,30 @@
package com.nivesh.production.bajajfd.adapter
import android.content.Context
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentManager
import androidx.fragment.app.FragmentPagerAdapter
class SectionsPagerAdapter(private val context: Context, fm: FragmentManager) :
FragmentPagerAdapter(fm, BEHAVIOR_RESUME_ONLY_CURRENT_FRAGMENT) {
private var fragmentList: MutableList<Fragment> = ArrayList()
override fun getItem(position: Int): Fragment {
return fragmentList[position]
}
override fun getCount(): Int {
return fragmentList.size
}
fun addFragment(fragment: Fragment) {
try {
if (!fragment.isAdded) {
fragmentList.add(fragment)
}
} catch (e: Exception) {
e.printStackTrace()
}
}
}

+ 29
- 0
app/src/main/java/com/nivesh/production/bajajfd/api/RetrofitInstance.kt View File

@ -0,0 +1,29 @@
package com.nivesh.production.bajajfd.api
import com.nivesh.production.bajajfd.util.Constants.Companion.BASE_URL
import okhttp3.OkHttpClient
import okhttp3.logging.HttpLoggingInterceptor
import retrofit2.Retrofit
import retrofit2.converter.gson.GsonConverterFactory
class RetrofitInstance {
companion object{
private val retrofit by lazy {
//lazy means we only initialize this here once
val logging=HttpLoggingInterceptor()
//loggingInterceptor use for see making request and for see what responses are
logging.setLevel(HttpLoggingInterceptor.Level.BODY)
//see the body of response
//create client for retrofit
val client=OkHttpClient.Builder()
.addInterceptor(logging)
.retryOnConnectionFailure(true)
.build()
Retrofit.Builder()
.baseUrl(BASE_URL)
.addConverterFactory(GsonConverterFactory.create())
.client(client)
.build()
}
}
}

+ 8
- 0
app/src/main/java/com/nivesh/production/bajajfd/interface/BajajFDInterface.kt View File

@ -0,0 +1,8 @@
package com.nivesh.production.bajajfd.`interface`
interface BajajFDInterface {
fun stepOneApi(data: String?)
fun stepTwoApi(data: String?)
fun stepThreeApi(data: String?)
fun stepFourApi(data: String?)
}

+ 156
- 0
app/src/main/java/com/nivesh/production/bajajfd/ui/activity/BajajFdMainActivity.kt View File

@ -0,0 +1,156 @@
package com.nivesh.production.bajajfd.ui.activity
import android.graphics.Color
import android.graphics.drawable.Drawable
import android.graphics.drawable.GradientDrawable
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.util.Log
import androidx.viewpager.widget.ViewPager
import com.nivesh.production.bajajfd.`interface`.BajajFDInterface
import com.nivesh.production.bajajfd.adapter.SectionsPagerAdapter
import com.nivesh.production.bajajfd.databinding.BajajFdMainActivityBinding
import com.nivesh.production.bajajfd.ui.fragment.*
import com.nivesh.production.bajajfd.util.Colors
class BajajFdMainActivity : AppCompatActivity(),BajajFDInterface {
private lateinit var binding: BajajFdMainActivityBinding
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
init()
}
private fun init(){
binding = BajajFdMainActivityBinding.inflate(layoutInflater)
setContentView(binding.root)
binding.imgBack.setOnClickListener {
finish()
}
// steps setting
setBackground(selectedShape(), defaultShape(), defaultShape(), defaultShape())
// set viewPager
val sectionsPagerAdapter = SectionsPagerAdapter(this@BajajFdMainActivity, supportFragmentManager)
val viewPager: ViewPager = binding.viewPager
sectionsPagerAdapter.addFragment(StepStartFragment.getInstance(this@BajajFdMainActivity))
sectionsPagerAdapter.addFragment(StepOneFragment.getInstance(this@BajajFdMainActivity))
sectionsPagerAdapter.addFragment(StepTwoFragment.getInstance(this@BajajFdMainActivity))
sectionsPagerAdapter.addFragment(StepThreeFragment.getInstance(this@BajajFdMainActivity))
sectionsPagerAdapter.addFragment(StepFourFragment.getInstance(this@BajajFdMainActivity))
viewPager.adapter = sectionsPagerAdapter
viewPager.addOnPageChangeListener(object : ViewPager.OnPageChangeListener {
override fun onPageScrolled(
position: Int,
positionOffset: Float,
positionOffsetPixels: Int
) {
Log.e("onPageScrolled", "-->".plus(position))
}
override fun onPageSelected(position: Int) {
Log.e("onPageSelected", "-->".plus(position))
when (position) {
0 -> {
setBackground(
defaultShape(),
defaultShape(),
defaultShape(),
defaultShape()
)
}
1 -> {
setBackground(
selectedShape(),
defaultShape(),
defaultShape(),
defaultShape()
)
}
2 -> {
setBackground(
selectedShape(),
selectedShape(),
defaultShape(),
defaultShape()
)
}
3 -> {
setBackground(
selectedShape(),
selectedShape(),
selectedShape(),
defaultShape()
)
}
4 ->{
setBackground(
selectedShape(),
selectedShape(),
selectedShape(),
selectedShape()
)
}
}
}
override fun onPageScrollStateChanged(state: Int) {
}
})
}
// set Default Step
private fun defaultShape(): GradientDrawable {
val shape = GradientDrawable()
shape.shape = GradientDrawable.OVAL
shape.setColor(Color.WHITE)
shape.setStroke(6, Color.parseColor(Colors.colorDefault))
return shape
}
// set Selected Step
private fun selectedShape(): GradientDrawable {
val shape = GradientDrawable()
shape.shape = GradientDrawable.OVAL
shape.setColor(Color.parseColor(Colors.colorDefault))
shape.setStroke(6, Color.parseColor(Colors.colorDefault))
return shape
}
// set background for selected/ default step
private fun setBackground(
drawable: Drawable?,
drawable1: Drawable?,
drawable2: Drawable?,
drawable3: Drawable?
) {
binding.step1.background = drawable
binding.step2.background = drawable1
binding.step3.background = drawable2
binding.step4.background = drawable3
}
// step 1 response
override fun stepOneApi(data: String?) {
Log.e("stepOneApi", " response ---> $data")
}
// step 2 response
override fun stepTwoApi(data: String?) {
Log.e("stepTwoApi", " response ---> $data")
}
// step 3 response
override fun stepThreeApi(data: String?) {
Log.e("stepThreeApi", " response ---> $data")
}
// step 4 response
override fun stepFourApi(data: String?) {
Log.e("stepFourApi", " response ---> $data")
}
}

+ 63
- 0
app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepFourFragment.kt View File

@ -0,0 +1,63 @@
package com.nivesh.production.bajajfd.ui.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import com.nivesh.production.bajajfd.`interface`.BajajFDInterface
import com.nivesh.production.bajajfd.databinding.FragmentStepFourBinding
import com.nivesh.production.bajajfd.viewModel.StepFourViewModel
class StepFourFragment : Fragment() {
private lateinit var stepFourViewModel: StepFourViewModel
private var _binding: FragmentStepFourBinding? = null
private val binding get() = _binding!!
private lateinit var bajajFDInterface: BajajFDInterface
companion object {
fun getInstance(fdInterface: BajajFDInterface): StepFourFragment {
val stepFourFragment = StepFourFragment()
stepFourFragment.setApi(fdInterface)
return stepFourFragment
}
}
private fun setApi(bajajFDInterfaces: BajajFDInterface) {
bajajFDInterface = bajajFDInterfaces
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
stepFourViewModel = ViewModelProvider(this)[StepFourViewModel::class.java].apply {
}
}
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View {
_binding = FragmentStepFourBinding.inflate(inflater, container, false)
val root = binding.root
// val textView: TextView = binding.sectionLabel
// stepFourViewModel.text.observe(viewLifecycleOwner) {
// textView.text = it
// }
//
// binding.btnClick.setOnClickListener {
// bajajFDInterface.stepFourApi("stepFourResponse")
// }
return root
}
override fun onDestroyView() {
super.onDestroyView()
_binding = null
}
}

+ 73
- 0
app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepOneFragment.kt View File

@ -0,0 +1,73 @@
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
import com.nivesh.production.bajajfd.databinding.FragmentStepOneBinding
import com.nivesh.production.bajajfd.viewModel.StepOneViewModel
class StepOneFragment : Fragment() {
private lateinit var stepOneViewModel: StepOneViewModel
private var _binding: FragmentStepOneBinding? = null
private val binding get() = _binding!!
private lateinit var bajajFDInterface: BajajFDInterface
companion object {
fun getInstance(fdInterface: BajajFDInterface): StepOneFragment {
val stepOneFragment = StepOneFragment()
stepOneFragment.setApi(fdInterface)
return stepOneFragment
}
}
private fun setApi(bajajFDInterfaces: BajajFDInterface) {
bajajFDInterface = bajajFDInterfaces
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
stepOneViewModel = ViewModelProvider(this)[StepOneViewModel::class.java].apply {
}
}
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View {
_binding = FragmentStepOneBinding.inflate(inflater,container,false)
val root = binding.root
stepOneViewModel.text.observe(viewLifecycleOwner) {
}
binding.tvPersonalDetails.setOnClickListener {
stepOneViewModel.setUpVisibility(binding.llPersonalDetail)
}
binding.tvNomineeDetails.setOnClickListener {
stepOneViewModel.setUpVisibility(binding.llNomineeDetail)
}
binding.tvBankDetails.setOnClickListener {
stepOneViewModel.setUpVisibility(binding.llBankDetails)
}
return root
}
override fun onDestroyView() {
super.onDestroyView()
_binding = null
}
}

+ 64
- 0
app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepStartFragment.kt View File

@ -0,0 +1,64 @@
package com.nivesh.production.bajajfd.ui.fragment
import androidx.lifecycle.ViewModelProvider
import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.nivesh.production.bajajfd.R
import com.nivesh.production.bajajfd.`interface`.BajajFDInterface
import com.nivesh.production.bajajfd.databinding.FragmentStepStartBinding
import com.nivesh.production.bajajfd.viewModel.StepStartViewModel
class StepStartFragment : Fragment() {
private lateinit var viewModel: StepStartViewModel
private lateinit var stepStartViewModel: StepStartViewModel
private var _binding: FragmentStepStartBinding? = null
private val binding get() = _binding!!
private lateinit var bajajFDInterface: BajajFDInterface
companion object {
fun getInstance(fdInterface: BajajFDInterface): StepStartFragment{
val stepStartFragment = StepStartFragment()
stepStartFragment.setApi(fdInterface)
return stepStartFragment
}
}
private fun setApi(bajajFDInterfaces: BajajFDInterface) {
bajajFDInterface = bajajFDInterfaces
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
stepStartViewModel = ViewModelProvider(this)[StepStartViewModel::class.java].apply {
}
}
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View? {
_binding = FragmentStepStartBinding.inflate(inflater,container,false)
val root = binding.root
binding.txtInterestTenure.setOnClickListener {
}
binding.btnNext.setOnClickListener {
bajajFDInterface.stepOneApi("stepOneResponse")
}
return root
}
override fun onDestroyView() {
super.onDestroyView()
_binding = null
}
}

+ 63
- 0
app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepThreeFragment.kt View File

@ -0,0 +1,63 @@
package com.nivesh.production.bajajfd.ui.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import com.nivesh.production.bajajfd.`interface`.BajajFDInterface
import com.nivesh.production.bajajfd.databinding.FragmentStepThreeBinding
import com.nivesh.production.bajajfd.viewModel.StepThreeViewModel
class StepThreeFragment : Fragment() {
private lateinit var stepThreeViewModel: StepThreeViewModel
private var _binding: FragmentStepThreeBinding? = null
private val binding get() = _binding!!
private lateinit var bajajFDInterface: BajajFDInterface
companion object {
fun getInstance(fdInterface: BajajFDInterface): StepThreeFragment {
val stepThreeFragment = StepThreeFragment()
stepThreeFragment.setApi(fdInterface)
return stepThreeFragment
}
}
private fun setApi(bajajFDInterfaces: BajajFDInterface) {
bajajFDInterface = bajajFDInterfaces
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
stepThreeViewModel = ViewModelProvider(this)[StepThreeViewModel::class.java].apply {
}
}
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View {
_binding = FragmentStepThreeBinding.inflate(inflater, container, false)
val root = binding.root
// val textView: TextView = binding.sectionLabel
// stepThreeViewModel.text.observe(viewLifecycleOwner) {
// textView.text = it
// }
// binding.btnClick.setOnClickListener {
// bajajFDInterface.stepThreeApi("stepThreeResponse")
// }
return root
}
override fun onDestroyView() {
super.onDestroyView()
_binding = null
}
}

+ 63
- 0
app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepTwoFragment.kt View File

@ -0,0 +1,63 @@
package com.nivesh.production.bajajfd.ui.fragment
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import com.nivesh.production.bajajfd.`interface`.BajajFDInterface
import com.nivesh.production.bajajfd.databinding.FragmentStepTwoBinding
import com.nivesh.production.bajajfd.viewModel.StepTwoViewModel
class StepTwoFragment : Fragment() {
private lateinit var stepTwoFragment: StepTwoViewModel
private var _binding: FragmentStepTwoBinding? = null
private val binding get() = _binding!!
private lateinit var bajajFDInterface: BajajFDInterface
companion object {
fun getInstance(fdInterface: BajajFDInterface): StepTwoFragment {
val stepTwoFragment = StepTwoFragment()
stepTwoFragment.setApi(fdInterface)
return stepTwoFragment
}
}
private fun setApi(bajajFDInterfaces: BajajFDInterface) {
bajajFDInterface = bajajFDInterfaces
}
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
stepTwoFragment = ViewModelProvider(this)[StepTwoViewModel::class.java].apply {
}
}
override fun onCreateView(
inflater: LayoutInflater, container: ViewGroup?,
savedInstanceState: Bundle?
): View {
_binding = FragmentStepTwoBinding.inflate(inflater, container, false)
val root = binding.root
// val textView: TextView = binding.sectionLabel
// stepTwoFragment.text.observe(viewLifecycleOwner) {
// textView.text = it
// }
//
// binding.btnClick.setOnClickListener {
// bajajFDInterface.stepTwoApi("stepTwoResponse")
// }
return root
}
override fun onDestroyView() {
super.onDestroyView()
_binding = null
}
}

+ 5
- 0
app/src/main/java/com/nivesh/production/bajajfd/util/Colors.kt View File

@ -0,0 +1,5 @@
package com.nivesh.production.bajajfd.util
object Colors {
const val colorDefault: String = "#17A31D"
}

+ 121
- 0
app/src/main/java/com/nivesh/production/bajajfd/util/Constants.kt View File

@ -0,0 +1,121 @@
package com.nivesh.production.bajajfd.util
import android.content.Context
import android.net.ConnectivityManager
import android.net.ConnectivityManager.TYPE_ETHERNET
import android.net.ConnectivityManager.TYPE_WIFI
import android.net.NetworkCapabilities.*
import android.os.Build
import android.provider.ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE
import android.util.Patterns
import com.nivesh.production.bajajfd.BajajApplication
import java.util.regex.Matcher
import java.util.regex.Pattern
class Constants() {
companion object {
const val BASE_URL ="put your base url here"
/**
*Before use this method write following code in model class
app:Application(in activity and model)
changes in hasInternetConnection
val connectivityManager = getApplication<NewsApplication>().getSystemService(....
**/
//internet check
private fun isNetworkAvailable(): Boolean {
val connectivityManager = BajajApplication().getSystemService(
Context.CONNECTIVITY_SERVICE
) as ConnectivityManager
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
val activeNetwork = connectivityManager.activeNetwork ?: return false
val capabilities =
connectivityManager.getNetworkCapabilities(activeNetwork) ?: return false
return when {
capabilities.hasTransport(TRANSPORT_WIFI) -> true
capabilities.hasTransport(TRANSPORT_CELLULAR) -> true
capabilities.hasTransport(TRANSPORT_ETHERNET) -> true
else -> false
}
} else {
connectivityManager.activeNetworkInfo?.run {
return when (type) {
TYPE_WIFI -> true
TYPE_MOBILE -> true
TYPE_ETHERNET -> true
else -> false
}
}
}
return false
}
//phone number
private fun checkValidPhoneNumber(phoneText: String?): String? {
if (phoneText != null) {
if(!phoneText.matches(".*[0-9].*".toRegex())){
return "Must be all Digits"
}
}
if (phoneText != null) {
if(phoneText.length != 10){
return "Must be 10 Digits"
}
}
return null
}
//valid email check
private fun isValidEmail(emailText:String?): String? {
if(!emailText?.let { Patterns.EMAIL_ADDRESS.matcher(it).matches() }!!)
{
return "Invalid Email Address"
}
return null
}
//valid Name Check
private fun isValidName(nameText: String?): String {
val pattern = Pattern.compile(("^[a-zA-Z\\s]{2,70}$"))
val matcher = pattern.matcher(nameText)
if (!matcher.matches()) {
return "Enter Valid Name"
}
return ""
}
//validPanCard
private fun isValidPanCardNo(panCardNo: String?): Boolean {
// Regex to check valid PAN Card number.
val regex = "[A-Z]{5}[0-9]{4}[A-Z]{1}"
// Compile the ReGex
val p = Pattern.compile(regex)
// If the PAN Card number
// is empty return false
if (panCardNo == null) {
return false
}
// Pattern class contains matcher() method
// to find matching between given
// PAN Card number using regular expression.
val m = p.matcher(panCardNo)
// Return if the PAN Card number
// matched the ReGex
return m.matches()
}
//is Indian mobile Number
private fun isIndianMobileNo(mobileNumber: String?): Boolean {
//(0/91): number starts with (0/91)
//[7-9]: starting of the number may contain a digit between 0 to 9
//[0-9]: then contains digits 0 to 9
val pattern: Pattern = Pattern.compile("^[6-9]\\d{9}$")
//the matcher() method creates a matcher that will match the given input against this pattern
val match: Matcher = pattern.matcher(mobileNumber)
//returns a boolean value
return match.matches()
}
}
}

+ 10
- 0
app/src/main/java/com/nivesh/production/bajajfd/util/Resource.kt View File

@ -0,0 +1,10 @@
package com.nivesh.production.bajajfd.util
sealed class Resource<T>(
val data:T?=null,
val message:String?=null)
{
class Success<T>(data: T):Resource<T>(data)
class Error<T>(message: String,data: T?= null):Resource<T>(data,message)
class Loading<T>:Resource<T>()
}

+ 18
- 0
app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepFourViewModel.kt View File

@ -0,0 +1,18 @@
package com.nivesh.production.bajajfd.viewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
class StepFourViewModel : ViewModel() {
private val _index = MutableLiveData<Int>()
val text: LiveData<String> = Transformations.map(_index) {
"Step : $it"
}
fun setIndex(index: Int) {
_index.value = index
}
}

+ 26
- 0
app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepOneViewModel.kt View File

@ -0,0 +1,26 @@
package com.nivesh.production.bajajfd.viewModel
import android.view.View
import android.widget.LinearLayout
import android.widget.TextView
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
class StepOneViewModel : ViewModel() {
private val _index = MutableLiveData<Int>()
val text: LiveData<String> = Transformations.map(_index) {
"Step : $it"
}
fun setIndex(index: Int) {
_index.value = index
}
fun setUpVisibility(ll: LinearLayout) {
if(ll.visibility== View.VISIBLE) ll.visibility = View.GONE
else ll.visibility = View.VISIBLE
}
}

+ 7
- 0
app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepStartViewModel.kt View File

@ -0,0 +1,7 @@
package com.nivesh.production.bajajfd.viewModel
import androidx.lifecycle.ViewModel
class StepStartViewModel : ViewModel() {
// TODO: Implement the ViewModel
}

+ 18
- 0
app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepThreeViewModel.kt View File

@ -0,0 +1,18 @@
package com.nivesh.production.bajajfd.viewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
class StepThreeViewModel : ViewModel() {
private val _index = MutableLiveData<Int>()
val text: LiveData<String> = Transformations.map(_index) {
"Step : $it"
}
fun setIndex(index: Int) {
_index.value = index
}
}

+ 18
- 0
app/src/main/java/com/nivesh/production/bajajfd/viewModel/StepTwoViewModel.kt View File

@ -0,0 +1,18 @@
package com.nivesh.production.bajajfd.viewModel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.Transformations
import androidx.lifecycle.ViewModel
class StepTwoViewModel : ViewModel() {
private val _index = MutableLiveData<Int>()
val text: LiveData<String> = Transformations.map(_index) {
"Step : $it"
}
fun setIndex(index: Int) {
_index.value = index
}
}

+ 30
- 0
app/src/main/res/drawable-v24/ic_launcher_foreground.xml View File

@ -0,0 +1,30 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
<aapt:attr name="android:fillColor">
<gradient
android:endX="85.84757"
android:endY="92.4963"
android:startX="42.9492"
android:startY="49.59793"
android:type="linear">
<item
android:color="#44000000"
android:offset="0.0" />
<item
android:color="#00000000"
android:offset="1.0" />
</gradient>
</aapt:attr>
</path>
<path
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
android:strokeWidth="1"
android:strokeColor="#00000000" />
</vector>

+ 5
- 0
app/src/main/res/drawable/card_bg.xml View File

@ -0,0 +1,5 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/white" />
<corners android:topLeftRadius="40dp"
android:topRightRadius="40dp" />
</shape>

+ 5
- 0
app/src/main/res/drawable/cursor_color.xml View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" >
<size android:width="1dp" />
<solid android:color="@color/color_790023" />
</shape>

+ 5
- 0
app/src/main/res/drawable/ic_arrow_down.xml View File

@ -0,0 +1,5 @@
<vector android:height="15dp" android:tint="#181818"
android:viewportHeight="24" android:viewportWidth="24"
android:width="15dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M7.41,8.59L12,13.17l4.59,-4.58L18,10l-6,6 -6,-6 1.41,-1.41z"/>
</vector>

+ 170
- 0
app/src/main/res/drawable/ic_launcher_background.xml View File

@ -0,0 +1,170 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
android:viewportWidth="108"
android:viewportHeight="108">
<path
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z" />
<path
android:fillColor="#00000000"
android:pathData="M9,0L9,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,0L19,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,0L29,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,0L39,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,0L49,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,0L59,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,0L69,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,0L79,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M89,0L89,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M99,0L99,108"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,9L108,9"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,19L108,19"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,29L108,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector>

+ 6
- 0
app/src/main/res/drawable/rounded_corner_with_line.xml View File

@ -0,0 +1,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/transparent"/>
<stroke android:width="1dp" android:color="@color/purple_500" />
<corners android:radius="5dp"/>
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
</shape>

+ 6
- 0
app/src/main/res/drawable/rounded_corner_with_line_blue.xml View File

@ -0,0 +1,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/transparent"/>
<stroke android:width="1dp" android:color="#004F7C" />
<corners android:radius="1dp"/>
<padding android:left="0dp" android:top="0dp" android:right="0dp" android:bottom="0dp" />
</shape>

+ 37
- 0
app/src/main/res/drawable/sp_bg.xml View File

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<color android:color="#FFFFFF" />
</item>
<item
android:gravity="center_vertical|right"
android:right="8dp">
<layer-list>
<item
android:width="12dp"
android:height="12dp"
android:bottom="10dp"
android:gravity="center">
<rotate
android:fromDegrees="45"
android:toDegrees="45">
<shape android:shape="rectangle">
<solid android:color="#FFF" />
<stroke
android:width="1dp"
android:color="#000000" />
</shape>
</rotate>
</item>
<item
android:width="30dp"
android:height="10dp"
android:bottom="21dp"
android:gravity="center">
<shape android:shape="rectangle">
<solid android:color="#FFFFFF" />
</shape>
</item>
</layer-list>
</item>
</layer-list>

+ 11
- 0
app/src/main/res/drawable/svg_back.xml View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="11dp"
android:height="17dp"
android:viewportWidth="11"
android:viewportHeight="17">
<path
android:fillColor="#ffffff"
android:pathData="M-2.89282e-07 8.5L8.91139 -5.00302e-07L11 1.99219L4.17722 8.5L11 15.0078L8.91139 17L-2.89282e-07 8.5Z" />
</vector>

+ 36
- 0
app/src/main/res/drawable/svg_cal.xml View File

@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20">
<path
android:fillColor="#FFFFFF"
android:strokeColor="#BDBDBD"
android:strokeWidth="2"
android:strokeLineJoin="round"
android:strokeLineCap="round"
android:pathData="M16.3004 2.7998H3.70039C2.70628 2.7998 1.90039 3.60569 1.90039 4.5998V17.1998C1.90039 18.1939 2.70628 18.9998 3.70039 18.9998H16.3004C17.2945 18.9998 18.1004 18.1939 18.1004 17.1998V4.5998C18.1004 3.60569 17.2945 2.7998 16.3004 2.7998Z" />
<path
android:fillColor="#FFFFFF"
android:strokeColor="#BDBDBD"
android:strokeWidth="2"
android:strokeLineJoin="round"
android:strokeLineCap="round"
android:pathData="M13.6006 1V4.6" />
<path
android:fillColor="#FFFFFF"
android:strokeColor="#BDBDBD"
android:strokeWidth="2"
android:strokeLineJoin="round"
android:strokeLineCap="round"
android:pathData="M6.40039 1V4.6" />
<path
android:fillColor="#FFFFFF"
android:strokeColor="#BDBDBD"
android:strokeWidth="2"
android:strokeLineJoin="round"
android:strokeLineCap="round"
android:pathData="M1.90039 8.2002H18.1004" />
</vector>

+ 5
- 0
app/src/main/res/drawable/svg_down_arrow.xml View File

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#000000"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M7.41,8.59L12,13.17l4.59,-4.58L18,10l-6,6 -6,-6 1.41,-1.41z"/>
</vector>

+ 14
- 0
app/src/main/res/drawable/svg_grey_bullet.xml View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="10dp"
android:height="10dp"
android:viewportWidth="10"
android:viewportHeight="10">
<path
android:fillColor="#BDBDBD"
android:pathData="M 5 0 C 7.76142374915 0 10 2.23857625085 10 5 C 10 7.76142374915 7.76142374915 10 5 10 C 2.23857625085 10 0 7.76142374915 0 5 C 0 2.23857625085 2.23857625085 0 5 0 Z" />
<path
android:fillColor="#ffffff"
android:pathData="M 5 3 C 6.10456949966 3 7 3.89543050034 7 5 C 7 6.10456949966 6.10456949966 7 5 7 C 3.89543050034 7 3 6.10456949966 3 5 C 3 3.89543050034 3.89543050034 3 5 3 Z" />
</vector>

+ 17
- 0
app/src/main/res/drawable/svg_rs.xml View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="32dp"
android:height="32dp"
android:viewportWidth="18"
android:viewportHeight="18">
<path
android:fillColor="#000000"
android:pathData="M5.42,9.05H3.74v2.91H2.78V4.77h2.38c0.81,0,1.43,0.18,1.87,0.55c0.44,0.37,0.65,0.9,0.65,1.61c0,0.45-0.12,0.84-0.36,1.17 C7.08,8.43,6.74,8.68,6.31,8.84L8,11.89v0.06H6.98L5.42,9.05z M3.74,8.27h1.46c0.47,0,0.84-0.12,1.12-0.37 c0.28-0.24,0.42-0.57,0.42-0.98c0-0.44-0.13-0.79-0.4-1.02S5.69,5.55,5.19,5.54H3.74V8.27z" />
<path
android:fillColor="#000000"
android:pathData="M11.98,10.54c0-0.25-0.09-0.44-0.28-0.58c-0.19-0.14-0.51-0.25-0.97-0.35S9.9,9.39,9.62,9.25c-0.27-0.14-0.47-0.3-0.6-0.49 C8.89,8.57,8.83,8.34,8.83,8.08c0-0.44,0.19-0.81,0.55-1.11c0.37-0.3,0.84-0.45,1.42-0.45c0.61,0,1.1,0.16,1.47,0.47 c0.38,0.31,0.57,0.71,0.57,1.2h-0.92c0-0.25-0.11-0.46-0.32-0.65c-0.21-0.18-0.48-0.27-0.8-0.27c-0.33,0-0.59,0.07-0.78,0.22 S9.74,7.82,9.74,8.05c0,0.22,0.09,0.39,0.26,0.5c0.17,0.11,0.49,0.22,0.94,0.32c0.46,0.1,0.83,0.22,1.11,0.37 c0.28,0.14,0.49,0.31,0.63,0.51c0.14,0.2,0.2,0.44,0.2,0.73c0,0.48-0.19,0.86-0.57,1.15c-0.38,0.29-0.88,0.43-1.48,0.43 c-0.43,0-0.81-0.08-1.14-0.23c-0.33-0.15-0.59-0.36-0.77-0.63c-0.19-0.27-0.28-0.56-0.28-0.88h0.91c0.02,0.31,0.14,0.55,0.37,0.73 c0.23,0.18,0.53,0.27,0.91,0.27c0.34,0,0.62-0.07,0.83-0.21S11.98,10.77,11.98,10.54z" />
<path
android:fillColor="#000000"
android:pathData="M14.1,11.47c0-0.16,0.05-0.29,0.14-0.39c0.09-0.11,0.23-0.16,0.42-0.16s0.33,0.05,0.43,0.16c0.1,0.1,0.15,0.24,0.15,0.39 c0,0.15-0.05,0.28-0.15,0.38c-0.1,0.1-0.24,0.15-0.43,0.15s-0.33-0.05-0.42-0.15C14.14,11.75,14.1,11.63,14.1,11.47z" />
</vector>

+ 5
- 0
app/src/main/res/drawable/svg_star.xml View File

@ -0,0 +1,5 @@
<vector android:height="12dp" android:tint="@color/colorPrimary"
android:viewportHeight="24" android:viewportWidth="24"
android:width="12dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M12,17.27L18.18,21l-1.64,-7.03L22,9.24l-7.19,-0.61L12,2 9.19,8.63 2,9.24l5.46,4.73L5.82,21z"/>
</vector>

+ 13
- 0
app/src/main/res/drawable/svg_step_process.xml View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="15dp"
android:height="16dp"
android:viewportWidth="15"
android:viewportHeight="16">
<path
android:fillColor="#17A31D"
android:pathData="M14.9544 7.54537C14.9544 11.7126 11.6067 15.0907 7.47718 15.0907C3.34765 15.0907 0 11.7126 0 7.54537C0 3.37818 3.34765 0 7.47718 0C11.6067 0 14.9544 3.37818 14.9544 7.54537Z" />
<path
android:fillColor="#ffffff"
android:pathData="M 7.55215 2.82959 C 10.1331091843 2.82959 12.22539 4.94094796251 12.22539 7.54544 C 12.22539 10.1499320375 10.1331091843 12.26129 7.55215 12.26129 C 4.9711908157 12.26129 2.87891 10.1499320375 2.87891 7.54544 C 2.87891 4.94094796251 4.9711908157 2.82959 7.55215 2.82959 Z" />
</vector>

+ 23
- 0
app/src/main/res/font/font.xml View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<font-family xmlns:android="http://schemas.android.com/apk/res/android">
<font
android:fontStyle="normal"
android:fontWeight="400"
android:font="@font/robotoblack" />
<font
android:fontStyle="normal"
android:fontWeight="400"
android:font="@font/robotobold" />
<font
android:fontStyle="normal"
android:fontWeight="400"
android:font="@font/robotolight" />
<font
android:fontStyle="normal"
android:fontWeight="400"
android:font="@font/robotomedium" />
<font
android:fontStyle="normal"
android:fontWeight="400"
android:font="@font/robotoregular" />
</font-family>

BIN
app/src/main/res/font/robotoblack.ttf View File


BIN
app/src/main/res/font/robotobold.ttf View File


BIN
app/src/main/res/font/robotolight.ttf View File


BIN
app/src/main/res/font/robotomedium.ttf View File


BIN
app/src/main/res/font/robotoregular.ttf View File


BIN
app/src/main/res/font/robotothin.ttf View File


+ 147
- 0
app/src/main/res/layout/bajaj_fd_main_activity.xml View File

@ -0,0 +1,147 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
tools:context=".ui.activity.BajajFdMainActivity">
<com.google.android.material.appbar.AppBarLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white">
<LinearLayout
android:orientation="horizontal"
android:background="@color/red"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<ImageView
android:id="@+id/imgBack"
android:layout_marginStart="15dp"
android:layout_marginEnd="15dp"
android:padding="10dp"
android:layout_gravity="center_vertical"
android:src="@drawable/svg_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/back"
android:gravity="center" />
<TextView
android:id="@+id/title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/white"
android:textSize="14sp"
android:minHeight="?actionBarSize"
android:padding="@dimen/appbar_padding"
android:text="@string/fd"
android:textAppearance="@style/TextAppearance.Widget.AppCompat.Toolbar.Title" />
</LinearLayout>
<LinearLayout
android:id="@+id/ll_steps"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
android:background="@color/color_EFEFEF"
android:paddingTop="10dp"
android:paddingBottom="10dp">
<ImageView
android:id="@+id/step1"
android:layout_width="19dp"
android:layout_height="19dp"
android:contentDescription="@string/step1"
android:gravity="center" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:text="@string/step1"
android:textColor="@color/black"
android:textSize="12sp" />
<View
android:layout_width="22dp"
android:layout_height="2dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:background="@color/color_green" />
<ImageView
android:id="@+id/step2"
android:layout_width="19dp"
android:layout_height="19dp"
android:contentDescription="@string/step2"
android:gravity="center" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:text="@string/step2"
android:textColor="@color/black"
android:textSize="11sp" />
<View
android:layout_width="22dp"
android:layout_height="2dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:background="@color/color_green" />
<ImageView
android:id="@+id/step3"
android:layout_width="19dp"
android:layout_height="19dp"
android:contentDescription="@string/step3"
android:gravity="center" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:text="@string/step3"
android:textColor="@color/black"
android:textSize="11sp" />
<View
android:layout_width="22dp"
android:layout_height="2dp"
android:layout_marginStart="5dp"
android:layout_marginEnd="5dp"
android:background="@color/color_green" />
<ImageView
android:id="@+id/step4"
android:layout_width="19dp"
android:layout_height="19dp"
android:contentDescription="@string/step4"
android:gravity="center" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:text="@string/step4"
android:textColor="@color/black"
android:textSize="11sp" />
</LinearLayout>
</com.google.android.material.appbar.AppBarLayout>
<androidx.viewpager.widget.ViewPager
android:id="@+id/view_pager"
android:contentDescription="@string/viewpager"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior" />
</androidx.coordinatorlayout.widget.CoordinatorLayout>

+ 128
- 0
app/src/main/res/layout/bank_detail_select.xml View File

@ -0,0 +1,128 @@
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/white"
android:layout_margin="@dimen/margin_10"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools">
<TextView
android:id="@+id/tv_upload_kyc_label"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@color/grey_bg"
android:drawableRight="@drawable/ic_arrow_down"
android:drawablePadding="@dimen/margin_5"
android:padding="@dimen/margin_3"
android:text="Bank Details"
android:textColor="@color/black"
app:layout_constraintBottom_toTopOf="@+id/rv_bank_list"
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.012" />
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/rv_bank_list"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/margin_5"
app:layout_constraintBottom_toTopOf="@+id/textView16"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tv_upload_kyc_label" />
<TextView
android:id="@+id/textView16"
style="@style/tv_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="+ Add New Account"
android:textColor="@color/black"
android:paddingLeft="@dimen/margin_5"
app:layout_constraintBottom_toTopOf="@+id/relativeLayout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/rv_bank_list" />
<RadioGroup
android:id="@+id/radioGroup"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/relativeLayout">
<RadioButton
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="UPI"
android:textSize="@dimen/margin_14"
tools:layout_editor_absoluteX="11dp"
tools:layout_editor_absoluteY="355dp" />
<RadioButton
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_marginLeft="@dimen/margin_150"
android:text="Netbanking"
android:textSize="@dimen/margin_14"
tools:layout_editor_absoluteX="11dp"
tools:layout_editor_absoluteY="355dp" />
</RadioGroup>
<RelativeLayout
android:id="@+id/relativeLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="28dp"
android:background="@color/grey_bg"
android:padding="@dimen/margin_5"
app:layout_constraintBottom_toTopOf="@+id/radioGroup"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView16"
app:layout_constraintVertical_bias="0.0">
<TextView
android:id="@+id/textView15"
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Payment mode"
android:textColor="@color/black"
android:textSize="@dimen/margin_14"
tools:layout_editor_absoluteX="5dp"
tools:layout_editor_absoluteY="312dp" />
<TextView
android:id="@+id/textView17"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:gravity="center_vertical"
android:text="View available payment modes"
android:textColor="@color/blue_text_color"
android:textSize="@dimen/margin_10"
tools:layout_editor_absoluteX="5dp"
tools:layout_editor_absoluteY="312dp" />
</RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

+ 330
- 0
app/src/main/res/layout/fragment_bajaj_f_d_step_one.xml View File

@ -0,0 +1,330 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/_2sdp"
android:orientation="vertical">
<TextView
android:id="@+id/tv_fd_label"
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/bajaj_finance" />
<TextView
android:id="@+id/tv_fd_rating"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Rating: FAAA by CRISIL"
android:textColor="@color/light_text" />
<TextView
android:id="@+id/txt_inv_amount"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_18"
android:text="@string/investment_amount_fd"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
android:layout_marginTop="@dimen/margin_5"
android:background="@drawable/rounded_corner_with_line">
<TextView
android:id="@+id/rs"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_2sdp"
android:layout_marginTop="@dimen/_5sdp"
android:gravity="center_vertical"
android:paddingStart="@dimen/_5sdp"
android:paddingTop="@dimen/_5sdp"
android:paddingEnd="@dimen/_1sdp"
android:paddingBottom="@dimen/_5sdp"
android:text="@string/rs"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_14" />
<EditText
android:id="@+id/edit_deposit_amount"
style="@style/EditTextTheme"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_toEndOf="@+id/rs"
android:background="@null"
android:imeOptions="actionNext"
android:inputType="number"
android:lines="1"
android:maxLines="1"
android:paddingTop="@dimen/_10sdp"
android:paddingBottom="@dimen/_10sdp"
android:textColor="@color/text_default"
android:textColorHint="?theme_EdtTextHintColor"
android:textCursorDrawable="@drawable/cursor_color"
android:textSize="@dimen/text_size_14" />
</RelativeLayout>
<TextView
android:id="@+id/tv_"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_18"
android:text="@string/select_interest_payout"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12" />
<TextView
android:id="@+id/txt_interest_payout"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
android:layout_marginTop="@dimen/_2sdp"
android:background="@drawable/rounded_corner_with_line"
android:drawableEnd="@drawable/ic_arrow_down"
android:drawablePadding="@dimen/_9sdp"
android:gravity="center_vertical"
android:hint="@string/tv_select_hint"
android:paddingStart="@dimen/margin_20"
android:paddingEnd="@dimen/margin_30"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_16" />
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/_7sdp"
android:text="@string/select_interest_tenure"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12" />
<TextView
android:id="@+id/txt_interest_tenure"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
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" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginTop="@dimen/_10sdp"
android:orientation="horizontal">
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/upto_0.25" />
<Switch
android:id="@+id/switch1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/upto_0.25_next" />
</LinearLayout>
</LinearLayout>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_10"
android:background="@color/grey_bg"
android:textColor="@color/text_color_dark"
android:textSize="@dimen/text_size_12"
android:layout_marginTop="@dimen/margin_25"
android:text="@string/following_option"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/_2sdp"
android:layout_marginTop="@dimen/margin_15"
android:orientation="vertical">
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
<TextView
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_10"
android:layout_marginTop="@dimen/margin_15"
android:textColor="@color/text_color_dark"
android:text="@string/maturity_instructions" />
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/margin_20"
android:background="@color/bg_color_info"
android:gravity="center">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
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:"/>
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/text_color_blue"
android:textSize="@dimen/margin_16"
android:layout_marginLeft="@dimen/margin_2"
android:text="7.5 %"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
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:"/>
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/text_color_blue"
android:textSize="@dimen/margin_16"
android:layout_marginLeft="@dimen/margin_2"
android:text="Quarterly"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
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:"/>
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/text_color_blue"
android:textSize="@dimen/margin_16"
android:layout_marginLeft="@dimen/margin_2"
android:text="5XXXXXX"/>
</LinearLayout>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:text="@string/next"
android:background="@color/red_title"
android:textColor="@color/white"
android:layout_marginTop="@dimen/margin_20"
android:paddingLeft="@dimen/margin_20"
android:paddingRight="@dimen/margin_20"
android:paddingTop="@dimen/margin_10"
android:paddingBottom="@dimen/margin_10"/>
</LinearLayout>

+ 146
- 0
app/src/main/res/layout/fragment_step_four.xml View File

@ -0,0 +1,146 @@
<?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:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/color_EFEFEF"
android:layout_margin="@dimen/margin_10"
tools:context="com.nivesh.production.bajajfd.ui.fragment.StepFourFragment">
<com.google.android.material.card.MaterialCardView
style="@style/CustomCardViewTopStyle"
android:id="@+id/card_view_1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_10"
android:layout_marginLeft="@dimen/margin_5"
android:layout_marginRight="@dimen/margin_5"
android:layout_marginTop="@dimen/margin_5"
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="70dp"
android:layout_marginTop="16dp"
android:layout_marginBottom="12dp"
android:background="@color/white"
android:padding="@dimen/margin_5"
app:layout_constraintBottom_toTopOf="@+id/textView5"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="1.0">
<TextView
android:id="@+id/tv_fd_label"
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:text="@string/bajaj_finance"
app:layout_constraintBottom_toTopOf="@+id/tv_fd_rating"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_fd_rating"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="25dp"
android:text="Rating: FAAA by CRISIL"
android:textColor="@color/light_text"
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/tv_fd_label"
app:layout_constraintVertical_bias="0.0" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>
<com.google.android.material.card.MaterialCardView
android:id="@+id/card_view_2"
style="@style/CustomCardViewBottomStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_5"
android:layout_marginRight="@dimen/margin_5"
android:layout_marginBottom="@dimen/margin_5"
android:padding="@dimen/margin_10"
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">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_10"
app:layout_constraintBottom_toBottomOf="parent">
<TextView
android:id="@+id/textView5"
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="Congratulations"
android:textColor="@color/black"
android:textSize="@dimen/margin_16"
app:layout_constraintBottom_toTopOf="@+id/textView9"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.437"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView13"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:gravity="center"
android:text="You will receive fixed deposit certificate\nwithin 3 working days on email"
android:textColor="@color/black"
android:textSize="@dimen/margin_14"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.393"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView9" />
<TextView
android:id="@+id/textView9"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="Your transaction is successful."
android:textColor="@color/black"
android:textSize="@dimen/margin_16"
app:layout_constraintBottom_toTopOf="@+id/textView13"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.419"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView5" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>
</androidx.constraintlayout.widget.ConstraintLayout>

+ 779
- 0
app/src/main/res/layout/fragment_step_one.xml View File

@ -0,0 +1,779 @@
<?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:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
android:background="@color/Nivesh_color_AppBg"
tools:context=".ui.fragment.StepTwoFragment">
<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="80dp"
android:background="@color/Nivesh_color_AppBg"
android:fillViewport="true"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnNext">
<com.google.android.material.card.MaterialCardView
style="@style/CustomCardViewStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?android:attr/selectableItemBackground"
app:cardElevation="1dp"
app:cardUseCompatPadding="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="10dp">
<TextView
android:id="@+id/tvFDSchemeName"
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:text="@string/bajaj_finance" />
<TextView
android:id="@+id/tvFDRating"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="1dp"
android:text="Rating: FAAA by CRISIL"
android:textColor="@color/light_text"
android:textSize="@dimen/text_size_12" />
<TextView
android:id="@+id/tvNote"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_10"
android:layout_marginBottom="1dp"
android:text="* Text"
android:textColor="@color/light_text"
android:textSize="@dimen/margin_14" />
</LinearLayout>
<TextView
android:id="@+id/tvPersonalDetails"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:background="@color/grey_bg"
android:padding="@dimen/margin_1"
android:text="Personal Details"
android:textColor="@color/black"
app:layout_constraintTop_toBottomOf="@+id/tv_fd_rating"
tools:layout_editor_absoluteX="5dp"
app:drawableEndCompat="@drawable/svg_down_arrow" />
<LinearLayout
android:id="@+id/llPersonalDetail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_10"
android:orientation="vertical">
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlMobileNumber"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Mobile Number">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="phone"
android:maxEms="10" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlDOB"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Date Of Birth">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableEnd="@drawable/svg_cal"
android:inputType="date" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlPanNumber"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_marginTop="5dp"
android:hint="Enter PAN Number">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxEms="10" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spDuration"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_marginTop="5dp"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
android:entries="@array/interestPayoutList"/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlFirstName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter First Name">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlMiddleName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_marginTop="5dp"
android:hint="@string/middle_name">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlLastName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Last Name"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spGender"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
android:entries="@array/interestPayoutList" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlEmail"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Email Address">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:maxEms="50" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlOccupation"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Occupation">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlQualification"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Qualification">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spMarital"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
android:entries="@array/interestPayoutList"/>
<Spinner
android:id="@+id/spRelation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
android:entries="@array/interestPayoutList" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlAddressLine1"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Address 1">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlAddressLine2"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Address 2">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlArea"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Area">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="200" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlCountry"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Country">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="200" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlState"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="State">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlCity"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="City">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlPinCode"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="PinCode">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="6" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<TextView
android:id="@+id/tvNomineeDetails"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="22dp"
android:background="@color/grey_bg"
android:drawableRight="@drawable/svg_down_arrow"
android:padding="@dimen/margin_3"
android:text="Nominee Details"
android:textColor="@color/black" />
<LinearLayout
android:id="@+id/llNomineeDetail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:padding="@dimen/margin_10"
android:orientation="vertical">
<Spinner
android:id="@+id/spTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
android:entries="@array/interestPayoutList" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlNomineeFirstName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Nominee First Name">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlNomineeMiddleName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/nominee_middle_name">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlNomineeLastName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Nominee Last Name">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlNomineeDOB"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Nominee Date Of Birth">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableRight="@drawable/svg_cal"
android:inputType="date" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spNomineeRelation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_5"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
android:entries="@array/interestPayoutList" />
<CheckBox
android:id="@+id/cbNomineeSameAddress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nominee address is same as Primary Applicant’s address"
android:textSize="@dimen/margin_10" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/TLGuardianName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/guardian_name_optional">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlGuardianAge"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/guardian_age_optional">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spGuardianRelation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_5"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
android:entries="@array/interestPayoutList" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlGuardianAddress"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/guardian_address_optional">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlGuardianPinCode"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="@string/guardian_pinCode_optional">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<TextView
android:id="@+id/tvBankDetails"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="22dp"
android:background="@color/grey_bg"
android:drawableRight="@drawable/svg_down_arrow"
android:padding="@dimen/margin_3"
android:text="Bank Details"
android:textColor="@color/black" />
<LinearLayout
android:id="@+id/llBankDetails"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:padding="@dimen/margin_10"
android:orientation="vertical">
<TextView
android:id="@+id/tvAccountType"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:padding="@dimen/margin_3"
android:text="Account type *"
android:textColor="@color/black"
app:layout_constraintTop_toBottomOf="@+id/tv_fd_rating"
tools:layout_editor_absoluteX="5dp" />
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Savings account" />
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="50dp"
android:text="Current account" />
</RadioGroup>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlIFSC"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_8"
android:layout_marginBottom="@dimen/margin_8"
android:hint="Enter IFSC Code">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlAccountNumber"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_8"
android:layout_marginBottom="@dimen/margin_8"
android:hint="Enter Account Number">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlBankName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_8"
android:layout_marginBottom="@dimen/margin_8"
android:hint="Enter Bank Name">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlBankBranchName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_8"
android:layout_marginBottom="@dimen/margin_8"
android:hint="Enter Branch Name">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</com.google.android.material.textfield.TextInputLayout>
</LinearLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="26dp"
android:background="@color/grey_bg">
<TextView
android:id="@+id/tvPaymentMode"
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginTop="12dp"
android:padding="@dimen/margin_3"
android:text="Payment mode"
android:textColor="@color/black"
tools:layout_editor_absoluteX="5dp" />
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
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"
tools:layout_editor_absoluteX="5dp" />
</RelativeLayout>
<RadioGroup
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="UPI" />
<RadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="50dp"
android:text="NetBanking" />
</RadioGroup>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</androidx.core.widget.NestedScrollView>
<include
android:id="@+id/bankDetail"
layout="@layout/bank_detail_select"
android:visibility="gone"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnBack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp"
android:backgroundTint="@color/blue"
android:text="@string/back"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/btnNext"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/scrollView" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp"
android:backgroundTint="@color/colorPrimary"
android:text="@string/next"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnBack"
app:layout_constraintTop_toBottomOf="@+id/scrollView"/>
</androidx.constraintlayout.widget.ConstraintLayout>

+ 408
- 0
app/src/main/res/layout/fragment_step_start.xml View File

@ -0,0 +1,408 @@
<?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:tool="http://schemas.android.com/tools"
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"
tool:context="com.nivesh.production.bajajfd.ui.fragment.StepOneFragment">
<ScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="60dp"
android:fillViewport="true"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnNext">
<com.google.android.material.card.MaterialCardView
style="@style/CustomCardViewStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?android:attr/selectableItemBackground"
app:cardElevation="1dp"
app:cardUseCompatPadding="true">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center_horizontal"
android:padding="10dp"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/_2sdp"
android:orientation="vertical">
<TextView
android:id="@+id/tv_fd_label"
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/bajaj_finance" />
<TextView
android:id="@+id/tv_fd_rating"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Rating: FAAA by CRISIL"
android:textColor="@color/light_text" />
<!-- <TextView-->
<!-- android:id="@+id/txt_inv_amount"-->
<!-- style="@style/tv_regular"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_marginTop="@dimen/margin_18"-->
<!-- android:text="@string/investment_amount_fd"-->
<!-- android:textColor="@color/text_default"-->
<!-- android:textSize="@dimen/text_size_12" />-->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/margin_50"
android:layout_marginTop="@dimen/margin_5">
<!-- <TextView-->
<!-- android:id="@+id/rs"-->
<!-- style="@style/tv_regular"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:gravity="center_vertical"-->
<!-- android:paddingStart="@dimen/_5sdp"-->
<!-- android:paddingTop="3dp"-->
<!-- android:paddingEnd="@dimen/_1sdp"-->
<!-- android:layout_centerVertical="true"-->
<!-- android:paddingBottom="3dp"-->
<!-- android:text="@string/rs"-->
<!-- android:textColor="@color/text_default"-->
<!-- android:textSize="@dimen/text_size_14" />-->
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilDepositAmount"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="Select Investment Amount">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="match_parent"
android:drawableLeft="@drawable/svg_rs"
android:padding="@dimen/margin_5"
android:inputType="number"
android:maxLength="12"/>
</com.google.android.material.textfield.TextInputLayout>
<!-- <EditText-->
<!-- android:id="@+id/edit_deposit_amount"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_centerInParent="true"-->
<!-- android:layout_toEndOf="@+id/rs"-->
<!-- android:background="@null"-->
<!-- android:imeOptions="actionNext"-->
<!-- android:inputType="number"-->
<!-- android:lines="1"-->
<!-- android:maxEms="12"-->
<!-- android:maxLines="1"-->
<!-- android:textColor="@color/text_default"-->
<!-- android:textCursorDrawable="@drawable/cursor_color"-->
<!-- android:textSize="@dimen/text_size_14" />-->
</RelativeLayout>
<TextView
android:id="@+id/tv_"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_18"
android:text="@string/select_interest_payout"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12" />
<!-- <TextView-->
<!-- android:id="@+id/txt_interest_payout"-->
<!-- style="@style/tv_regular"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="?android:attr/actionBarSize"-->
<!-- android:layout_marginTop="@dimen/_2sdp"-->
<!-- android:background="@drawable/rounded_corner_with_line"-->
<!-- android:drawableEnd="@drawable/ic_arrow_down"-->
<!-- android:drawablePadding="@dimen/_9sdp"-->
<!-- android:gravity="center_vertical"-->
<!-- android:hint="@string/tv_select_hint"-->
<!-- android:paddingStart="@dimen/margin_20"-->
<!-- android:paddingEnd="@dimen/margin_30"-->
<!-- android:textColor="@color/text_default"-->
<!-- android:textSize="@dimen/text_size_16" />-->
<Spinner
android:layout_width="match_parent"
android:layout_height="@dimen/margin_50"
android:background="@drawable/rounded_corner_with_line"
android:entries="@array/intrest_payout_list"/>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/_7sdp"
android:text="@string/select_interest_tenure"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12" />
<TextView
android:id="@+id/txt_interest_tenure"
style="@style/tv_regular"
android:layout_width="match_parent"
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" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:layout_marginTop="@dimen/_10sdp"
android:orientation="horizontal">
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/upto_0.25" />
<Switch
android:id="@+id/switch1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/black"
android:layout_marginLeft="@dimen/_2sdp"
android:text="@string/upto_0.25_next" />
</LinearLayout>
</LinearLayout>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/margin_10"
android:background="@color/grey_bg"
android:textColor="@color/text_color_dark"
android:textSize="@dimen/text_size_12"
android:layout_marginTop="@dimen/margin_25"
android:text="@string/maturity_instructions"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/_2sdp"
android:layout_marginTop="@dimen/margin_15"
android:orientation="vertical">
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
<TextView
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/margin_10"
android:layout_marginTop="@dimen/margin_15"
android:textColor="@color/text_color_dark"
android:text="@string/tax_deducted_at_source_tds" />
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
<TextView
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
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"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/margin_20"
android:background="@color/bg_color_info"
android:gravity="center">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
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:"/>
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/text_color_blue"
android:textSize="@dimen/margin_16"
android:layout_marginLeft="@dimen/margin_2"
android:text="7.5 %"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
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:"/>
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/text_color_blue"
android:textSize="@dimen/margin_16"
android:layout_marginLeft="@dimen/margin_2"
android:text="Quarterly"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<TextView
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:"/>
<TextView
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/text_color_blue"
android:textSize="@dimen/margin_16"
android:layout_marginLeft="@dimen/margin_2"
android:text="5XXXXXX"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</ScrollView>
<Button
android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:text="@string/next"
android:textColor="@color/white"
android:backgroundTint="@color/colorPrimary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/scrollView" />
</androidx.constraintlayout.widget.ConstraintLayout>

+ 392
- 0
app/src/main/res/layout/fragment_step_three.xml View File

@ -0,0 +1,392 @@
<?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:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/Nivesh_color_AppBg"
tools:context="com.nivesh.production.bajajfd.ui.fragment.StepThreeFragment">
<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="80dp"
android:background="@color/transparent"
android:fillViewport="true"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnNext">
<com.google.android.material.card.MaterialCardView
style="@style/CustomCardViewStyle"
android:layout_width="match_parent"
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">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/margin_10">
<TextView
android:id="@+id/tvFDSchemeName"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:text="@string/bajaj_finance"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvFDRating"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:text="Rating: FAAA by CRISIL"
android:textColor="@color/light_text"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvFDSchemeName" />
<TextView
android:id="@+id/tvMakePayment"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:background="@color/grey_bg"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:text="Make payment"
android:textColor="@color/black"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvFDRating" />
<TextView
android:id="@+id/lblMakePayment"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@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_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/tvInvestedAmount"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/_5sdp"
android:layout_marginEnd="@dimen/_7sdp"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:text="Rs. 50,000"
android:textColor="@color/black"
android:textSize="@dimen/text_size_14"
app:layout_constraintBottom_toBottomOf="@+id/tvTenure"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/lblMakePayment"
app:layout_constraintTop_toBottomOf="@+id/tvMakePayment"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/lblTenure"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:text="Tenure"
android:textSize="@dimen/text_size_14"
app:layout_constraintBottom_toBottomOf="@id/lblTenure"
app:layout_constraintVertical_bias="0.0"
app:layout_constraintStart_toStartOf="@id/lblMakePayment"
app:layout_constraintTop_toTopOf="@+id/tvTenure" />
<TextView
android:id="@+id/tvTenure"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="2 Years"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:layout_marginTop="@dimen/_5sdp"
android:layout_marginEnd="@dimen/_7sdp"
android:textColor="@color/black"
android:textSize="@dimen/text_size_14"
app:layout_constraintBottom_toBottomOf="@id/tvInterestPayout"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/lblTenure"
app:layout_constraintTop_toBottomOf="@+id/tvInvestedAmount"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/lblInterestPayout"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Interest Payout"
android:textSize="@dimen/text_size_14"
app:layout_constraintBottom_toBottomOf="@+id/lblRateOfInterest"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="@+id/lblTenure"
app:layout_constraintTop_toTopOf="@+id/tvInterestPayout"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/tvInterestPayout"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginEnd="8dp"
android:text="Monthly"
android:textSize="@dimen/text_size_14"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/lblInterestPayout"
app:layout_constraintTop_toBottomOf="@+id/tvTenure"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/lblRateOfInterest"
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: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" />
<TextView
android:id="@+id/tvRateOfInterest"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_14"
android:text="6.75%"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/tvInterestPayout"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/lblRateOfInterest"
app:layout_constraintTop_toBottomOf="@+id/tvInterestPayout"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/tvMakePayment2"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="196dp"
android:background="@color/grey_bg"
android:padding="@dimen/margin_3"
android:text="Terms &amp; condition"
android:textColor="@color/black"
app:layout_constraintTop_toBottomOf="@+id/tvFDRating" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/switch2"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginEnd="5dp"
android:text="Director of Bajaj Finance Ltd."
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvMakePayment2"
app:layout_constraintVertical_bias="0.018" />
<com.google.android.material.switchmaterial.SwitchMaterial
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="5dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="8dp"
android:text="Promoter of Bajaj Finance Ltd."
app:layout_constraintBottom_toTopOf="@+id/switch3"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switch2"
app:layout_constraintVertical_bias="0.0" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/switch3"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="8dp"
android:text="Relative of director or promotor of Bajaj Finance Ltd."
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/switch2"
app:layout_constraintVertical_bias="0.0" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/switch4"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="8dp"
android:text="Shareholder of Bajaj Finance Ltd."
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switch2"
app:layout_constraintVertical_bias="0.153" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/switch5"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="8dp"
android:text="Are you a politicallly exposed person"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switch3"
app:layout_constraintVertical_bias="0.181" />
<com.google.android.material.switchmaterial.SwitchMaterial
android:id="@+id/switch6"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="5dp"
android:layout_marginBottom="8dp"
android:text="I am not a citizen, national or tax resident of any country outside of India"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switch5"
app:layout_constraintVertical_bias="0.0" />
<CheckBox
android:id="@+id/checkBox"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="1dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/textView14"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/switch6"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/textView14"
android:layout_width="322dp"
android:layout_height="74dp"
android:layout_marginTop="15dp"
android:layout_marginEnd="16dp"
android:text="@string/terms_condition"
android:textColor="@color/black"
android:textSize="@dimen/margin_8"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/checkBox"
app:layout_constraintTop_toBottomOf="@+id/switch6" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>
</androidx.core.widget.NestedScrollView>
<com.google.android.material.button.MaterialButton
android:id="@+id/btnBack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="24dp"
android:layout_marginBottom="10dp"
android:backgroundTint="@color/blue"
android:text="@string/back"
android:textColor="@color/white"
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" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="16dp"
android:layout_marginTop="24dp"
android:layout_marginBottom="10dp"
android:backgroundTint="@color/colorPrimary"
android:text="View Order"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnBack"
app:layout_constraintTop_toBottomOf="@+id/card_view_1"
app:layout_constraintVertical_bias="0.812" />
<TextView
android:id="@+id/tv_terms_condition"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/once_you_click"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@+id/btnBack"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintVertical_bias="0.0" />
</androidx.constraintlayout.widget.ConstraintLayout>

+ 286
- 0
app/src/main/res/layout/fragment_step_two.xml View File

@ -0,0 +1,286 @@
<?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:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/Nivesh_color_AppBg"
tools:context="com.nivesh.production.bajajfd.ui.fragment.StepThreeFragment">
<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="80dp"
android:background="@color/Nivesh_color_AppBg"
android:fillViewport="true"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnNext">
<com.google.android.material.card.MaterialCardView
style="@style/CustomCardViewStyle"
android:layout_width="match_parent"
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">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/childConstraint"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/margin_30">
<TextView
android:id="@+id/tvFDSchemeName"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:layout_marginTop="10dp"
android:text="@string/bajaj_finance"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<TextView
android:id="@+id/tvFDRating"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="7dp"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:textSize="@dimen/text_size_12"
android:layout_marginBottom="1dp"
android:text="Rating: FAAA by CRISIL"
android:textColor="@color/light_text"
app:layout_constraintTop_toBottomOf="@+id/tvFDSchemeName"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<TextView
android:id="@+id/tvUploadKYCDocument"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="7dp"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:background="@color/grey_text_bg"
android:padding="@dimen/margin_1"
android:text="upload KYC Documents"
android:textColor="@color/black"
app:drawableEndCompat="@drawable/svg_down_arrow"
app:layout_constraintTop_toBottomOf="@+id/tvFDRating"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<TextView
android:id="@+id/tvAddressProofType"
style="@style/tv_regular"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="20dp"
android:paddingEnd="20dp"
android:layout_marginTop="12dp"
android:text="@string/address_proof_type"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12"
app:layout_constraintTop_toBottomOf="@+id/tvUploadKYCDocument"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<Spinner
android:id="@+id/spAddressType"
android:layout_width="match_parent"
android:layout_height="@dimen/margin_50"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:layout_marginTop="5dp"
android:layout_marginStart="20dp"
android:layout_marginEnd="20dp"
android:background="@drawable/rounded_corner_with_line"
android:entries="@array/address_type"
app:layout_constraintTop_toBottomOf="@+id/tvAddressProofType"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
<TextView
android:id="@+id/tvAadhaarFront"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/aadhar_front"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12"
app:layout_constraintBottom_toBottomOf="@+id/btnAadhaarFrontUpload"
app:layout_constraintStart_toStartOf="@+id/spAddressType"
app:layout_constraintTop_toTopOf="@+id/btnAadhaarFrontUpload"
app:layout_constraintVertical_bias="0.562" />
<Button
android:id="@+id/btnAadhaarFrontUpload"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_alignParentEnd="true"
android:layout_marginTop="16dp"
android:layout_marginBottom="8dp"
android:backgroundTint="@color/color_EFEFEF"
android:paddingLeft="@dimen/margin_30"
android:paddingRight="@dimen/margin_30"
android:text="Upload File"
android:textAllCaps="false"
android:textColor="@color/black"
app:layout_constraintBottom_toTopOf="@+id/btnAadhaarBackUpload"
app:layout_constraintEnd_toEndOf="@+id/spAddressType"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/tvAadhaarFront"
app:layout_constraintTop_toBottomOf="@+id/spAddressType"
app:layout_constraintVertical_bias="0.0" />
<TextView
android:id="@+id/tvAadhaarBack"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="@string/aadhar_back"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12"
app:layout_constraintBottom_toBottomOf="@+id/btnAadhaarBackUpload"
app:layout_constraintStart_toStartOf="@+id/tvAadhaarFront"
app:layout_constraintTop_toTopOf="@+id/btnAadhaarBackUpload" />
<Button
android:id="@+id/btnAadhaarBackUpload"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_alignParentEnd="true"
android:layout_marginTop="6dp"
android:layout_marginBottom="8dp"
android:backgroundTint="@color/color_EFEFEF"
android:paddingLeft="@dimen/margin_30"
android:paddingRight="@dimen/margin_30"
android:text="Upload File"
android:textAllCaps="false"
android:textColor="@color/black"
app:layout_constraintBottom_toTopOf="@+id/btnPANUpload"
app:layout_constraintEnd_toEndOf="@+id/btnAadhaarFrontUpload"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/tvAadhaarBack"
app:layout_constraintTop_toBottomOf="@+id/btnAadhaarFrontUpload" />
<TextView
android:id="@+id/tvPAN"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="@string/pan_upload"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12"
app:layout_constraintBottom_toBottomOf="@+id/btnPANUpload"
app:layout_constraintEnd_toStartOf="@+id/btnAadhaarBackUpload"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/tvAadhaarBack"
app:layout_constraintTop_toTopOf="@+id/btnPANUpload"
app:layout_constraintVertical_bias="0.281" />
<Button
android:id="@+id/btnPANUpload"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_alignParentEnd="true"
android:layout_marginTop="6dp"
android:layout_marginBottom="8dp"
android:backgroundTint="@color/color_EFEFEF"
android:paddingLeft="@dimen/margin_30"
android:paddingRight="@dimen/margin_30"
android:text="Upload File"
android:textAllCaps="false"
android:textColor="@color/black"
app:layout_constraintBottom_toTopOf="@+id/btnPhotoUpload"
app:layout_constraintEnd_toEndOf="@+id/btnAadhaarBackUpload"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/tvPAN"
app:layout_constraintTop_toBottomOf="@+id/btnAadhaarBackUpload" />
<TextView
android:id="@+id/tvPhotoUpload"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:text="@string/photo_upload"
android:textColor="@color/text_default"
android:textSize="@dimen/text_size_12"
app:layout_constraintBottom_toBottomOf="@+id/btnPhotoUpload"
app:layout_constraintStart_toStartOf="@+id/tvPAN"
app:layout_constraintTop_toTopOf="@+id/btnPhotoUpload" />
<Button
android:id="@+id/btnPhotoUpload"
android:layout_width="wrap_content"
android:layout_height="48dp"
android:layout_alignParentEnd="true"
android:layout_marginTop="10dp"
android:backgroundTint="@color/color_EFEFEF"
android:paddingLeft="@dimen/margin_30"
android:paddingRight="@dimen/margin_30"
android:text="Upload File"
android:textAllCaps="false"
android:textColor="@color/black"
app:layout_constraintEnd_toEndOf="@+id/btnPANUpload"
app:layout_constraintHorizontal_bias="1.0"
app:layout_constraintStart_toEndOf="@+id/tvPhotoUpload"
app:layout_constraintTop_toBottomOf="@+id/btnPANUpload" />
</androidx.constraintlayout.widget.ConstraintLayout>
</com.google.android.material.card.MaterialCardView>
</androidx.core.widget.NestedScrollView>
<com.google.android.material.button.MaterialButton
android:id="@+id/btnBack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp"
android:backgroundTint="@color/blue"
android:text="@string/back"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/btnNext"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/scrollView"/>
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="16dp"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp"
android:backgroundTint="@color/colorPrimary"
android:text="@string/next"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnBack"
app:layout_constraintTop_toBottomOf="@+id/scrollView" />
</androidx.constraintlayout.widget.ConstraintLayout>

+ 108
- 0
app/src/main/res/layout/header_progress_layout.xml View File

@ -0,0 +1,108 @@
<?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"
android:gravity="center"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="?android:attr/actionBarSize"
android:background="#FB0000"
android:orientation="horizontal">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/svg_back"
android:layout_gravity="center"
android:layout_marginStart="24sp"/>
<TextView
android:id="@+id/tv_title"
android:text="Hello World"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal">
<ImageView
android:id="@+id/iv_step_1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/svg_step_process"/>
<!-- <TextView-->
<!-- style="@style/tv_regular"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/step_1"-->
<!-- android:layout_marginStart="@dimen/margin_10"/>-->
<View
android:layout_width="30dp"
android:layout_height="1dp"
android:background="@color/color_0C9A21"/>
<ImageView
android:id="@+id/iv_step_2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/svg_step_process"/>
<!-- <TextView-->
<!-- style="@style/tv_regular"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/step_2"-->
<!-- android:layout_marginStart="@dimen/margin_10"/>-->
<View
android:id="@+id/iv_step_3"
android:layout_width="30dp"
android:layout_height="1dp"
android:layout_marginLeft="@dimen/margin_5"
android:layout_marginRight="@dimen/margin_5"
android:background="@color/color_0C9A21"/>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/svg_step_process"/>
<!-- <TextView-->
<!-- style="@style/tv_regular"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/step_3"-->
<!-- android:layout_marginStart="@dimen/margin_10"/>-->
<View
android:layout_width="30dp"
android:layout_height="1dp"
android:layout_marginLeft="@dimen/margin_5"
android:layout_marginRight="@dimen/margin_5"
android:background="@color/color_0C9A21"/>
<ImageView
android:id="@+id/iv_step_4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/svg_step_process"/>
<!-- <TextView-->
<!-- style="@style/tv_regular"-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:text="@string/step_4"-->
<!-- android:layout_marginStart="@dimen/margin_10"/>-->
</LinearLayout>
</LinearLayout>

+ 808
- 0
app/src/main/res/layout/test_layout.xml View File

@ -0,0 +1,808 @@
<?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: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:padding="@dimen/margin_5"
tools:context=".ui.fragment.StepTwoFragment">
<androidx.core.widget.NestedScrollView
android:id="@+id/scrollView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="60dp"
android:background="@color/Nivesh_color_AppBg"
android:fillViewport="true"
android:visibility="visible"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnNext">
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="?android:attr/selectableItemBackground"
app:cardBackgroundColor="@android:color/white"
app:cardCornerRadius="5dp"
app:cardElevation="5dp"
app:cardUseCompatPadding="true">
<!-- <LinearLayout-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="match_parent"-->
<!-- android:gravity="center_horizontal"-->
<!-- android:padding="10dp"-->
<!-- android:orientation="vertical">-->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayoutInner"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center_vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnNext">
<TextView
android:id="@+id/tv_fd_label"
style="@style/tv_semi_bold"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="16dp"
android:text="@string/bajaj_finance"
app:layout_constraintBottom_toTopOf="@+id/tv_fd_rating"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_fd_rating"
style="@style/tv_regular"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginEnd="272dp"
android:layout_marginBottom="1dp"
android:text="Rating: FAAA by CRISIL"
android:textColor="@color/light_text"
android:textSize="@dimen/margin_14"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="@+id/tv_fd_label"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.023" />
<TextView
android:id="@+id/tvPersonalDetails"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:background="@color/grey_bg"
android:drawableRight="@drawable/svg_down_arrow"
android:padding="@dimen/margin_3"
android:text="Personal Details"
android:textColor="@color/black"
app:layout_constraintTop_toBottomOf="@+id/tv_fd_rating"
tools:layout_editor_absoluteX="5dp" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Mobile Number"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintVertical_bias="0.095">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="phone"
android:maxEms="10" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tilDOB"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Date Of Birth"
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/tilName"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableRight="@drawable/svg_cal"
android:inputType="date" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_marginTop="5dp"
android:hint="Enter PAN Number"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tilDOB"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxEms="10" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spDuration"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_marginTop="5dp"
android:background="@drawable/sp_bg"
android:minHeight="48dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout"
app:layout_constraintVertical_bias="0.0" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout2"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter First Name"
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/spDuration"
app:layout_constraintVertical_bias="0.009">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout3"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_marginTop="5dp"
android:hint="@string/middle_name"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout2"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout4"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Last Name"
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/textInputLayout3"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spGender"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/sp_bg"
android:minHeight="48dp"
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/textInputLayout4"
app:layout_constraintVertical_bias="0.0" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout5"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Email Address"
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/spGender"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="textEmailAddress"
android:maxEms="50" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout6"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Occupation"
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/textInputLayout5"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout7"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Enter Qualification"
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/textInputLayout6"
app:layout_constraintVertical_bias="0.009">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spMarital"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/sp_bg"
android:minHeight="48dp"
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/textInputLayout7"
app:layout_constraintVertical_bias="0.033" />
<Spinner
android:id="@+id/spRelation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/sp_bg"
android:minHeight="48dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/spMarital"
app:layout_constraintVertical_bias="0.0" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout8"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Address 1"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/spRelation"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout9"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Address 2"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout8"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout10"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Area"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout9"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="200" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout11"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Country"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout10"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="200" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout12"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="State"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout11"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout13"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="City"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout12"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout14"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Pincode"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout13"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="6" />
</com.google.android.material.textfield.TextInputLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<TextView
android:id="@+id/tvNomineeDetails"
style="@style/tv_semi_bold"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="22dp"
android:background="@color/grey_bg"
android:drawableRight="@drawable/svg_down_arrow"
android:padding="@dimen/margin_3"
android:text="Nominee Details"
android:textColor="@color/black"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_20">
<Spinner
android:id="@+id/spTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/sp_bg"
android:minHeight="48dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout15"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Nominee First Name"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/spTitle">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout16"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="@string/nominee_middle_name"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/spTitle"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout17"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Nominee Last Name"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.8"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textInputLayout16"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout18"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="Nominee Date Of Birth"
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/textInputLayout17"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:drawableRight="@drawable/svg_cal"
android:inputType="date" />
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spNomineeRelation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/sp_bg"
android:minHeight="48dp"
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/textInputLayout18"
app:layout_constraintVertical_bias="0.0"/>
<CheckBox
android:id="@+id/cbNomineeSameAddress"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Nominee address is same as Primary Applicant’s address"
android:textSize="@dimen/margin_10"
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/spNomineeRelation"
app:layout_constraintVertical_bias="0.064" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout19"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="@string/guardian_name_optional"
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/cbNomineeSameAddress"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout20"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="@string/guardian_age_optional"
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/textInputLayout19"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60"/>
</com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spGuardianRelation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:background="@drawable/sp_bg"
android:minHeight="48dp"
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/textInputLayout20"
app:layout_constraintVertical_bias="0.0"/>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout21"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="@string/guardian_address_optional"
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/spGuardianRelation"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60"/>
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/textInputLayout22"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="5dp"
android:hint="@string/guardian_pincode_optional"
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/textInputLayout21"
app:layout_constraintVertical_bias="0.0">
<com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="60"/>
</com.google.android.material.textfield.TextInputLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
</androidx.core.widget.NestedScrollView>
<include
android:id="@+id/bank_detail"
layout="@layout/bank_detail_select"
android:visibility="gone"
app:layout_constrainedWidth="true"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnBack"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:backgroundTint="@color/blue"
android:text="@string/back"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/btnNext"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/scrollView" />
<com.google.android.material.button.MaterialButton
android:id="@+id/btnNext"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:backgroundTint="@color/colorPrimary"
android:text="@string/next"
android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/btnBack"
app:layout_constraintTop_toBottomOf="@+id/scrollView"
/>
</androidx.constraintlayout.widget.ConstraintLayout>

+ 5
- 0
app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

+ 5
- 0
app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background" />
<foreground android:drawable="@drawable/ic_launcher_foreground" />
</adaptive-icon>

BIN
app/src/main/res/mipmap-hdpi/ic_launcher.webp View File

Before After

BIN
app/src/main/res/mipmap-hdpi/ic_launcher_round.webp View File

Before After

BIN
app/src/main/res/mipmap-mdpi/ic_launcher.webp View File

Before After

BIN
app/src/main/res/mipmap-mdpi/ic_launcher_round.webp View File

Before After

BIN
app/src/main/res/mipmap-xhdpi/ic_launcher.webp View File

Before After

BIN
app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp View File

Before After

BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher.webp View File

Before After

BIN
app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp View File

Before After

BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp View File

Before After

BIN
app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp View File

Before After

+ 16
- 0
app/src/main/res/values-night/themes.xml View File

@ -0,0 +1,16 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.BajajFdLib" parent="Theme.MaterialComponents.DayNight.DarkActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_200</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/black</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_200</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>

+ 111
- 0
app/src/main/res/values/attr_themes.xml View File

@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<attr name="theme_Primary" format="reference" />
<attr name="theme_PrimaryDark" format="reference" />
<attr name="theme_Accent" format="reference" />
<attr name="theme_Toolbarbg" format="reference" />
<attr name="theme_color_AppBg" format="reference" />
<attr name="theme_LoginBtn_bg" format="reference" />
<attr name="theme_WhiteColor_1" format="reference" />
<attr name="theme_WhiteColor_2" format="reference" />
<attr name="theme_WhiteColor_3" format="reference" />
<attr name="theme_TextWhiteColor" format="reference" />
<attr name="theme_TextBlackColor" format="reference" />
<attr name="theme_TextForgotColor" format="reference" />
<attr name="theme_TextColorVersion" format="reference" />
<attr name="theme_TextColorFacebook" format="reference" />
<attr name="theme_ColorFacebook_Blue" format="reference" />
<attr name="theme_TextColorGooglePlus" format="reference" />
<attr name="theme_TextColorEdtCusrsor" format="reference" />
<attr name="theme_EdtTextHintColor" format="reference" />
<attr name="theme_YellowColor_1" format="reference" />
<attr name="theme_BgColorDark_1" format="reference" />
<attr name="theme_RedColor_1" format="reference" />
<attr name="theme_RedColor_2" format="reference" />
<attr name="theme_RedColor_3" format="reference" />
<attr name="theme_RedColor_4" format="reference" />
<attr name="theme_RedColor_5" format="reference" />
<attr name="theme_RedColor_6" format="reference" />
<attr name="theme_RedColor_7" format="reference" />
<attr name="theme_RedColor_8" format="reference" />
<attr name="theme_BlueColor_1" format="reference" />
<attr name="theme_BlueColor_2" format="reference" />
<attr name="theme_BlueColor_3" format="reference" />
<attr name="theme_BlueColor_4" format="reference" />
<attr name="theme_BlueColor_5" format="reference" />
<attr name="theme_BlueColor_6" format="reference" />
<attr name="theme_BlueColor_7" format="reference" />
<attr name="theme_BlueColor_8" format="reference" />
<attr name="theme_BlueColor_9" format="reference" />
<attr name="theme_BlueColor_10" format="reference" />
<attr name="theme_BlueColor_11" format="reference" />
<attr name="theme_BlueColor_12" format="reference" />
<attr name="theme_BlueColor_13" format="reference" />
<attr name="theme_BlueColor_14" format="reference" />
<attr name="theme_BlueColor_15" format="reference" />
<attr name="theme_BlueColor_16" format="reference" />
<attr name="theme_BlueColor_17" format="reference" />
<attr name="theme_BlueColor_18" format="reference" />
<attr name="theme_BlueColor_19" format="reference" />
<attr name="theme_BlackColor_1" format="reference" />
<attr name="theme_BlackColor_0" format="reference" />
<attr name="theme_BlackColor_2" format="reference" />
<attr name="theme_BlackColor_3" format="reference" />
<attr name="theme_BlackColor_4" format="reference" />
<attr name="theme_BlackColor_5" format="reference" />
<attr name="theme_BlackColor_6" format="reference" />
<attr name="theme_BlackColor_7" format="reference" />
<attr name="theme_BlackColor_8" format="reference" />
<attr name="theme_BlackColor_9" format="reference" />
<attr name="theme_BlackColor_10" format="reference" />
<attr name="theme_BlackColor_11" format="reference" />
<attr name="theme_BlackColor_12" format="reference" />
<attr name="theme_BlackColor_13" format="reference" />
<attr name="theme_BlackColor_14" format="reference" />
<attr name="theme_BlackColor_15" format="reference" />
<attr name="theme_BlackColor_16" format="reference" />
<attr name="theme_BlackColor_17" format="reference" />
<attr name="theme_BlackColor_18" format="reference" />
<attr name="theme_BlackColor_19" format="reference" />
<attr name="theme_BlackColor_20" format="reference" />
<attr name="theme_BlackColor_21" format="reference" />
<attr name="theme_BlackColor_22" format="reference" />
<attr name="theme_BlackColor_23" format="reference" />
<attr name="theme_BlackColor_24" format="reference" />
<attr name="theme_BlackColor_25" format="reference" />
<attr name="theme_BlackColor_26" format="reference" />
<attr name="theme_BlackColor_27" format="reference" />
<attr name="theme_BlackColor_28" format="reference" />
<attr name="theme_BlackColor_29" format="reference" />
<attr name="theme_BlackColor_30" format="reference" />
<attr name="theme_BlackColor_31" format="reference" />
<attr name="theme_BlackColor_32" format="reference" />
<attr name="theme_BlackColor_33" format="reference" />
<attr name="theme_BlackColor_34" format="reference" />
<attr name="theme_BlackColor_35" format="reference" />
<attr name="theme_BlackColor_36" format="reference" />
<attr name="theme_BlackColor_37" format="reference" />
<attr name="theme_BlackColor_38" format="reference" />
<attr name="theme_BlackColor_39" format="reference" />
<attr name="theme_BlackColor_40" format="reference" />
<attr name="theme_BlackColor_41" format="reference" />
<attr name="theme_GreenColor_1" format="reference" />
<attr name="theme_GreenColor_2" format="reference" />
<attr name="theme_GreenColor_3" format="reference" />
<attr name="theme_GreenColor_4" format="reference" />
<attr name="theme_GreenColor_5" format="reference" />
<attr name="theme_GreenColor_6" format="reference" />
<attr name="theme_GreenColor_7" format="reference" />
<attr name="theme_GreenColor_8" format="reference" />
<attr name="theme_Goal_Blue" format="reference" />
<attr name="theme_Goal_Header" format="reference" />
<attr name="theme_Goal_Child_Header" format="reference" />
<attr name="theme_Goal_Progress" format="reference" />
<attr name="theme_Goal_Background" format="reference" />
<attr name="theme_Goal_Light_Blue" format="reference" />
<attr name="theme_Goal_Light_Text_Blue" format="reference" />
<attr name="theme_Goal_Light_Text_Blue_Gray" format="reference" />
<attr name="theme_Primary_color" format="reference" />
</resources>

+ 1213
- 0
app/src/main/res/values/colors.xml
File diff suppressed because it is too large
View File


+ 132
- 0
app/src/main/res/values/dimens.xml View File

@ -0,0 +1,132 @@
<?xml version="1.0" encoding="utf-8" ?>
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="activity_horizontal_margin">16dp</dimen>
<dimen name="activity_vertical_margin">16dp</dimen>
<!-- Default screen margins, per the Android Design guidelines. -->
<dimen name="default_divider_height">0.1dp</dimen>
<dimen name="default_divider_padding">4dp</dimen>
<!-- sweet alert dialog-->
<dimen name="common_circle_width">3dp</dimen>
<!-- sweet alert dialog-->
<dimen name="text_size_8">8sp</dimen>
<dimen name="text_size_10">10sp</dimen>
<dimen name="text_size_11">11sp</dimen>
<dimen name="text_size_12">12sp</dimen>
<dimen name="text_size_13">13sp</dimen>
<dimen name="text_size_14">14sp</dimen>
<dimen name="text_size_15">15sp</dimen>
<dimen name="text_size_16">16sp</dimen>
<dimen name="text_size_17">17sp</dimen>
<dimen name="text_size_18">18sp</dimen>
<dimen name="text_size_19">19sp</dimen>
<dimen name="text_size_20">20sp</dimen>
<dimen name="text_size_30">30sp</dimen>
<dimen name="margin_0.5" tools:ignore="MissingDefaultResource">0.5dp</dimen>
<dimen name="margin_1">1dp</dimen>
<dimen name="margin_2">2dp</dimen>
<dimen name="margin_3">3dp</dimen>
<dimen name="margin_4">4dp</dimen>
<dimen name="margin_5">5dp</dimen>
<dimen name="margin_6">6dp</dimen>
<dimen name="margin_8">8dp</dimen>
<dimen name="margin_10">10dp</dimen>
<dimen name="margin_11">11dp</dimen>
<dimen name="margin_12">12dp</dimen>
<dimen name="margin_14">14dp</dimen>
<dimen name="margin_15">15dp</dimen>
<dimen name="margin_16">16dp</dimen>
<dimen name="margin_18">18dp</dimen>
<dimen name="margin_20">20dp</dimen>
<dimen name="margin_25">25dp</dimen>
<dimen name="margin_30">30dp</dimen>
<dimen name="margin_32">32dp</dimen>
<dimen name="margin_35">35dp</dimen>
<dimen name="margin_40">40dp</dimen>
<dimen name="margin_44">44dp</dimen>
<dimen name="margin_45">45dp</dimen>
<dimen name="margin_50">50dp</dimen>
<dimen name="margin_55">55dp</dimen>
<dimen name="margin_60">60dp</dimen>
<dimen name="margin_70">72dp</dimen>
<dimen name="margin_80">80dp</dimen>
<dimen name="margin_content_4">12dp</dimen>
<dimen name="margin_7">7dp</dimen>
<dimen name="margin_corner_radius_2">2dp</dimen>
<dimen name="margin_corner_radius_3">3dp</dimen>
<dimen name="margin_corner_radius_10">10dp</dimen>
<dimen name="margin_edit_35">12dp</dimen>
<dimen name="margin_arrow_size">5dp</dimen>
<dimen name="text_size_social">12sp</dimen>
<dimen name="margin_150">150dp</dimen>
<dimen name="margin_290">290dp</dimen>
<dimen name="vertical_spacing_10">10dp</dimen>
<dimen name="horizontal_spacing_25">25dp</dimen>
<dimen name="calculate_button_width_130">130dp</dimen>
<dimen name="height_28">28dp</dimen>
<dimen name="margin_120">120dp</dimen>
<dimen name="margin_neg_8">-12dp</dimen>
<dimen name="margin_300">300dp</dimen>
<dimen name="margin__category">80dp</dimen>
<dimen name="fast_scroll_overlay_text_size">50dp</dimen>
<dimen name="fast_recyler_view_height">20dp</dimen>
<dimen name="fast_recyler_view_width">16dp</dimen>
<dimen name="daily_transaction_height">45dp</dimen>
<dimen name="indicator_height">5dp</dimen>
<dimen name="width_of_border">1dp</dimen>
<dimen name="txt_add_another_account">10dp</dimen>
<dimen name="elevation_card">1dp</dimen>
<dimen name="text_14">14sp</dimen>
<dimen name="percentage_circle">70dp</dimen>
<dimen name="margin_9">9dp</dimen>
<integer name="graph_point_size">6</integer>
<integer name="graph_text_size">25</integer>
<dimen name="default_tooltip_margin">0dp</dimen>
<dimen name="default_tooltip_padding">5dp</dimen>
<dimen name="default_tooltip_arrow_height">10dp</dimen>
<dimen name="default_tooltip_arrow_width">16dp</dimen>
<dimen name="action_button_width">48dp</dimen>
<dimen name="action_button_padding">16dp</dimen>
<dimen name="labeled_default_width">72dp</dimen>
<dimen name="labeled_default_height">32dp</dimen>
<dimen name="fab_margin">16dp</dimen>
<dimen name="_2sdp">7.20dp</dimen>
<dimen name="_5sdp">18.00dp</dimen>
<dimen name="_1sdp">3.60dp</dimen>
<dimen name="_10sdp">36.00dp</dimen>
<dimen name="_9sdp">21.60dp</dimen>
<dimen name="_7sdp">25.20dp</dimen>
<dimen name="appbar_padding">16dp</dimen>
<dimen name="appbar_padding_top">8dp</dimen>
</resources>

+ 79
- 0
app/src/main/res/values/strings.xml View File

@ -0,0 +1,79 @@
<resources>
<string name="app_name">BajajFdLib</string>
<string name="step_1">Step 1</string>
<string name="step_2">Step 2</string>
<string name="step_3">Step 3</string>
<string name="step_4">Step 4</string>
<!-- TODO: Remove or change this placeholder text -->
<string name="hello_blank_fragment">Hello blank fragment</string>
<string name="bajaj_finance">Bajaj Finance</string>
<string name="investment_amount_fd">Select Investment Amount</string>
<string name="rs">Rs.</string>
<string name="select_interest_payout">Select Interest Payout</string>
<string name="select_interest_tenure">Select Investment Tenure</string>
<string name="tv_select_hint">Select</string>
<string name="upto_0.25">Upto 0.25% p.a for </string>
<string name="upto_0.25_next">Senior Citizens, 60+</string>
<string name="following_option">Additional Details</string>
<string name="additional_detail_one">Automatically credit to my bank account</string>
<string name="additional_detail_two">Automatically renew principal amount</string>
<string name="additional_detail_three">Automatically renew both principal and interest amount</string>
<string name="maturity_instructions">Maturity Instrutions:</string>
<string name="deduct_tds">Deduct TDS (Income is taxable)</string>
<string name="next">Next</string>
<string name="once_you_click">Once you click on PAY, your order will be placed and you will be redirected to payment gateway.</string>
<string name="tab_text_1">Tab 1</string>
<string name="tab_text_2">Tab 2</string>
<string name="tab_text_3">Tab 3</string>
<string name="tab_text_4">Tab 4</string>
<string name="tab_text_5">Tab 5</string>
<string name="step1">Step 1</string>
<string name="step2">Step 2</string>
<string name="step3">Step 3</string>
<string name="step4">Step 4</string>
<string name="fd">Corporate Fixed Deposits</string>
<string name="back">Back</string>
<string name="stepFour">StepFour</string>
<string name="stepOne">StepOne</string>
<string name="click">click</string>
<string name="stepTwo">StepTwo</string>
<string name="stepThree">StepThree</string>
<string name="viewpager">viewpager</string>
<string name="tax_deducted_at_source_tds">Tax Deducted at Source (TDS):</string>
<string name="address_proof_type">Address Proof Type <font color='#E9161E'>*</font></string>
<string name="aadhar_front">Aadhar front <font color='#E9161E'>*</font></string>
<string name="aadhar_back">Aadhar Back <font color='#E9161E'>*</font></string>
<string name="pan_upload">PAN Upload <font color='#E9161E'>*</font></string>
<string name="photo_upload">Photo Upload <font color='#E9161E'>*</font></string>
<string name="terms_condition">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 <font color='#5077FF'>Terms &amp; conditions</font></string>
<string name="middle_name">Enter Middle Name <font color='#33000000'>(Optional)</font></string>
<string name="nominee_middle_name">Nominee Middle Name <font color='#33000000'>(Optional)</font></string>
<string name="guardian_name_optional">Guardian name <font color='#33000000'>(Optional)</font></string>
<string name="guardian_age_optional">Guardian Age <font color='#33000000'>(Optional)</font></string>
<string name="guardian_address_optional">Guardian Address <font color='#33000000'>(Optional)</font></string>
<string name="guardian_pinCode_optional">Guardian PinCode <font color='#33000000'>(Optional)</font></string>
<array name="interestPayoutList">
<item>Interest Payout</item>
<item>On Maturity</item>
<item>Monthly</item>
<item>Quarterly</item>
<item>Half Yearly</item>
<item>Yearly</item>
</array>
<array name="address_type">
<item>Aadhar Card</item>
<item>PAN</item>
<item>Voter Id</item>
<item>Driving Licence</item>
</array>
<array name="title">
<item>Mr</item>
<item>Mrs</item>
</array>
</resources>

+ 101
- 0
app/src/main/res/values/style.xml View File

@ -0,0 +1,101 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<item name="colorPrimary">?theme_Primary</item>
<item name="colorPrimaryDark">?theme_PrimaryDark</item>
<item name="colorAccent">?theme_Accent</item>
<item name="colorControlNormal">?theme_TextBlackColor</item>
<item name="colorControlActivated">?theme_TextBlackColor</item>
<item name="colorControlHighlight">@color/myTextPrimaryColor</item>
<item name="android:windowDisablePreview">true</item>
</style>
<style name="tv_regular">
<item name="android:fontFamily">@font/robotoregular</item>
<item name="android:textSize">@dimen/margin_12</item>
<item name="android:textColor">@color/step_text_color</item>
</style>
<style name="tv_semi_bold">
<item name="android:fontFamily">@font/robotobold</item>
<item name="android:textSize">@dimen/margin_14</item>
<item name="android:textColor">@color/red_title</item>
</style>
<style name="tv_bold">
<item name="android:fontFamily">@font/robotobold</item>
<item name="android:textSize">@dimen/margin_16</item>
<item name="android:textColor">@color/text_default</item>
</style>
<style name="EditTextTheme" parent="Widget.AppCompat.EditText">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/Black</item>
<item name="android:textCursorDrawable">?theme_TextBlackColor</item>
<item name="colorControlNormal">?theme_TextBlackColor</item>
<item name="colorControlActivated">?theme_TextBlackColor</item>
<item name="colorControlHighlight">?theme_TextBlackColor</item>
</style>
<style name="ErrorTextAppearance" parent="TextAppearance.AppCompat">
<item name="android:textColor">@android:color/holo_orange_dark</item>
<item name="android:textSize">16sp</item>
<item name="android:textStyle">bold|italic</item>
</style>
<style name="HelperTextAppearance" parent="TextAppearance.AppCompat">
<item name="android:textColor">@android:color/holo_green_dark</item>
<item name="android:textSize">16sp</item>
<item name="android:textStyle">bold|italic</item>
</style>
<style name="HintTextAppearance" parent="TextAppearance.AppCompat">
<item name="android:textColor">@android:color/holo_green_dark</item>
<item name="android:textSize">10sp</item>
</style>
<style name="EditTextThemeOverlay" parent="ThemeOverlay.AppCompat">
<item name="colorAccent">@android:color/holo_blue_light</item>
</style>
<style name="CustomCardViewStyle" parent="@style/Widget.MaterialComponents.CardView">
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay_card_custom_corners</item>
</style>
<style name="CustomCardViewTopStyle" parent="@style/Widget.MaterialComponents.CardView">
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay_card_top_custom_corners</item>
</style>
<style name="CustomCardViewBottomStyle" parent="@style/Widget.MaterialComponents.CardView">
<item name="shapeAppearanceOverlay">@style/ShapeAppearanceOverlay_card_bottom_custom_corners</item>
</style>
<style name="ShapeAppearanceOverlay_card_custom_corners" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSizeTopRight">20dp</item>
<item name="cornerSizeTopLeft">20dp</item>
<item name="cornerSizeBottomRight">20dp</item>
<item name="cornerSizeBottomLeft">20dp</item>
</style>
<style name="ShapeAppearanceOverlay_card_top_custom_corners" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSizeTopRight">20dp</item>
<item name="cornerSizeTopLeft">20dp</item>
<item name="cornerSizeBottomRight">0dp</item>
<item name="cornerSizeBottomLeft">0dp</item>
</style>
<style name="ShapeAppearanceOverlay_card_bottom_custom_corners" parent="">
<item name="cornerFamily">rounded</item>
<item name="cornerSizeTopRight">0dp</item>
<item name="cornerSizeTopLeft">0dp</item>
<item name="cornerSizeBottomRight">20dp</item>
<item name="cornerSizeBottomLeft">20dp</item>
</style>
</resources>

+ 16
- 0
app/src/main/res/values/themes.xml View File

@ -0,0 +1,16 @@
<resources xmlns:tools="http://schemas.android.com/tools">
<!-- Base application theme. -->
<style name="Theme.BajajFdLib" parent="Theme.MaterialComponents.DayNight.NoActionBar">
<!-- Primary brand color. -->
<item name="colorPrimary">@color/purple_500</item>
<item name="colorPrimaryVariant">@color/purple_700</item>
<item name="colorOnPrimary">@color/white</item>
<!-- Secondary brand color. -->
<item name="colorSecondary">@color/teal_200</item>
<item name="colorSecondaryVariant">@color/teal_700</item>
<item name="colorOnSecondary">@color/black</item>
<!-- Status bar color. -->
<item name="android:statusBarColor">?attr/colorPrimaryVariant</item>
<!-- Customize your theme here. -->
</style>
</resources>

+ 13
- 0
app/src/main/res/xml/backup_rules.xml View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?><!--
Sample backup rules file; uncomment and customize as necessary.
See https://developer.android.com/guide/topics/data/autobackup
for details.
Note: This file is ignored for devices older that API 31
See https://developer.android.com/about/versions/12/backup-restore
-->
<full-backup-content>
<!--
<include domain="sharedpref" path="."/>
<exclude domain="sharedpref" path="device.xml"/>
-->
</full-backup-content>

+ 19
- 0
app/src/main/res/xml/data_extraction_rules.xml View File

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?><!--
Sample data extraction rules file; uncomment and customize as necessary.
See https://developer.android.com/about/versions/12/backup-restore#xml-changes
for details.
-->
<data-extraction-rules>
<cloud-backup>
<!-- TODO: Use <include> and <exclude> to control what is backed up.
<include .../>
<exclude .../>
-->
</cloud-backup>
<!--
<device-transfer>
<include .../>
<exclude .../>
</device-transfer>
-->
</data-extraction-rules>

+ 17
- 0
app/src/test/java/com/nivesh/production/bajajfd/ExampleUnitTest.kt View File

@ -0,0 +1,17 @@
package com.nivesh.production.bajajfd
import org.junit.Test
import org.junit.Assert.*
/**
* Example local unit test, which will execute on the development machine (host).
*
* See [testing documentation](http://d.android.com/tools/testing).
*/
class ExampleUnitTest {
@Test
fun addition_isCorrect() {
assertEquals(4, 2 + 2)
}
}

+ 6
- 0
build.gradle View File

@ -0,0 +1,6 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.application' version '7.3.1' apply false
id 'com.android.library' version '7.3.1' apply false
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
}

+ 23
- 0
gradle.properties View File

@ -0,0 +1,23 @@
# Project-wide Gradle settings.
# IDE (e.g. Android Studio) users:
# Gradle settings configured through the IDE *will override*
# any settings specified in this file.
# For more details on how to configure your build environment visit
# http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings.
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
# AndroidX package structure to make it clearer which packages are bundled with the
# Android operating system, and which are packaged with your app's APK
# https://developer.android.com/topic/libraries/support-library/androidx-rn
android.useAndroidX=true
# Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official
# Enables namespacing of each library's R class so that its R class includes only the
# resources declared in the library itself and none from the library's dependencies,
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true

BIN
gradle/wrapper/gradle-wrapper.jar View File


+ 6
- 0
gradle/wrapper/gradle-wrapper.properties View File

@ -0,0 +1,6 @@
#Mon Nov 21 12:16:26 IST 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME

+ 185
- 0
gradlew View File

@ -0,0 +1,185 @@
#!/usr/bin/env sh
#
# Copyright 2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=`expr $i + 1`
done
case $i in
0) set -- ;;
1) set -- "$args0" ;;
2) set -- "$args0" "$args1" ;;
3) set -- "$args0" "$args1" "$args2" ;;
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=`save "$@"`
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
exec "$JAVACMD" "$@"

+ 89
- 0
gradlew.bat View File

@ -0,0 +1,89 @@
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto execute
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega

+ 17
- 0
settings.gradle View File

@ -0,0 +1,17 @@
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
rootProject.name = "BajajFdLib"
include ':app'

Loading…
Cancel
Save

Powered by TurnKey Linux.