Browse Source

ui changes

PankajBranch
Hemant Khadase 2 years ago
parent
commit
e589ecf524
9 changed files with 548 additions and 355 deletions
  1. +14
    -12
      app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepOneBajajFDFragment.kt
  2. +124
    -0
      app/src/main/java/com/nivesh/production/bajajfd/util/Common.kt
  3. +1
    -123
      app/src/main/java/com/nivesh/production/bajajfd/util/Constants.kt
  4. +25
    -25
      app/src/main/res/layout/fragment_bajajfd_step_four.xml
  5. +10
    -10
      app/src/main/res/layout/fragment_bajajfd_step_one.xml
  6. +355
    -116
      app/src/main/res/layout/fragment_bajajfd_step_two.xml
  7. +1
    -1
      app/src/main/res/layout/spinner_dropdown.xml
  8. +5
    -68
      app/src/main/res/values/dimens.xml
  9. +13
    -0
      app/src/main/res/values/strings.xml

+ 14
- 12
app/src/main/java/com/nivesh/production/bajajfd/ui/fragment/StepOneBajajFDFragment.kt View File

@ -17,7 +17,7 @@ import com.nivesh.production.bajajfd.databinding.FragmentBajajfdStepOneBinding
import com.nivesh.production.bajajfd.interfaces.BajajFDInterface import com.nivesh.production.bajajfd.interfaces.BajajFDInterface
import com.nivesh.production.bajajfd.model.GetRatesRequest import com.nivesh.production.bajajfd.model.GetRatesRequest
import com.nivesh.production.bajajfd.ui.activity.BajajFdMainActivity import com.nivesh.production.bajajfd.ui.activity.BajajFdMainActivity
import com.nivesh.production.bajajfd.util.Constants.Companion.showDialogValidation
import com.nivesh.production.bajajfd.util.Common.Companion.showDialogValidation
import com.nivesh.production.bajajfd.util.Resource import com.nivesh.production.bajajfd.util.Resource
import com.nivesh.production.bajajfd.viewModel.StepOneBajajFDViewModel import com.nivesh.production.bajajfd.viewModel.StepOneBajajFDViewModel
@ -58,6 +58,7 @@ class StepOneBajajFDFragment : Fragment() {
} }
override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) { override fun onTextChanged(s: CharSequence?, start: Int, before: Int, count: Int) {
binding.tlDepositAmount.error = null
} }
}) })
@ -71,13 +72,14 @@ class StepOneBajajFDFragment : Fragment() {
) )
binding.tvInterestPayout.setAdapter(adapter) binding.tvInterestPayout.setAdapter(adapter)
binding.tvInterestPayout.setOnItemClickListener { parent, view, position, id -> binding.tvInterestPayout.setOnItemClickListener { parent, view, position, id ->
binding.spInterestPayout.error = null
binding.tvFrequency.text = binding.tvInterestPayout.text binding.tvFrequency.text = binding.tvInterestPayout.text
} }
// Tenure // Tenure
binding.tvTenure.setAdapter(adapter) binding.tvTenure.setAdapter(adapter)
binding.tvTenure.setOnItemClickListener { parent, view, position, id -> binding.tvTenure.setOnItemClickListener { parent, view, position, id ->
// getRatesApi()
// getRatesApi()
} }
@ -88,7 +90,7 @@ class StepOneBajajFDFragment : Fragment() {
// Maturity Options // Maturity Options
binding.radioGroup.setOnCheckedChangeListener { group, checkedId -> binding.radioGroup.setOnCheckedChangeListener { group, checkedId ->
rgMaturity = group.findViewById(checkedId) rgMaturity = group.findViewById(checkedId)
Log.e("rgMaturity", "-->"+rgMaturity.text)
Log.e("rgMaturity", "-->" + rgMaturity.text)
} }
// TAX Deduct // TAX Deduct
@ -110,24 +112,24 @@ class StepOneBajajFDFragment : Fragment() {
} }
private fun validation(): Boolean { private fun validation(): Boolean {
if (binding.edtAmount.text?.isEmpty()!!){
if (binding.edtAmount.text?.isEmpty()!!) {
return false return false
showDialogValidation(activity, "")
}else if (binding.tvInterestPayout.text.isEmpty()){
binding.tlDepositAmount.error = ""
} else if (binding.tvInterestPayout.text.isEmpty()) {
return false return false
showDialogValidation(activity, "")
}else if (binding.tvTenure.text.isEmpty()){
binding.spInterestPayout.error = ""
} else if (binding.tvTenure.text.isEmpty()) {
return false return false
showDialogValidation(activity, "")
}else{
return true
binding.spInterestTenure.error = ""
} else {
return true
} }
} }
private fun getRatesApi() { private fun getRatesApi() {
val getRatesRequest = GetRatesRequest() val getRatesRequest = GetRatesRequest()
getRatesRequest.fdProvider = ""
getRatesRequest.fdProvider = "Bajaj"
getRatesRequest.frequency = "" getRatesRequest.frequency = ""
getRatesRequest.type = "" getRatesRequest.type = ""
stepOneBajajFDViewModel.getRates(getRatesRequest) stepOneBajajFDViewModel.getRates(getRatesRequest)


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

@ -0,0 +1,124 @@
package com.nivesh.production.bajajfd.util
import android.app.Activity
import android.app.AlertDialog
import android.content.Context
import android.net.ConnectivityManager
import android.net.NetworkCapabilities
import android.os.Build
import android.provider.ContactsContract
import android.util.Patterns
import com.nivesh.production.bajajfd.BajajApplication
import java.util.regex.Matcher
import java.util.regex.Pattern
class Common {
companion object{
/**
*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(NetworkCapabilities.TRANSPORT_WIFI) -> true
capabilities.hasTransport(NetworkCapabilities.TRANSPORT_CELLULAR) -> true
capabilities.hasTransport(NetworkCapabilities.TRANSPORT_ETHERNET) -> true
else -> false
}
} else {
connectivityManager.activeNetworkInfo?.run {
return when (type) {
ConnectivityManager.TYPE_WIFI -> true
ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE -> true
ConnectivityManager.TYPE_ETHERNET -> true
else -> false
}
}
}
return false
}
//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()
}
fun showDialogValidation(activity: Activity?, message: CharSequence?) {
val builder = AlertDialog.Builder(activity)
builder.setMessage(message)
builder.setPositiveButton("OK") { dialogInterface, i ->
dialogInterface.dismiss()
}
builder.show()
}
fun showDialogWithTwoButtons(activity: Activity?, message: CharSequence?) {
val builder = AlertDialog.Builder(activity)
builder.setMessage(message)
builder.setPositiveButton("OK") { dialogInterface, i ->
dialogInterface.dismiss()
}
builder.setNegativeButton("Cancel") { dialogInterface, i ->
dialogInterface.dismiss()
}
builder.show()
}
}
}

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

@ -1,131 +1,9 @@
package com.nivesh.production.bajajfd.util package com.nivesh.production.bajajfd.util
import android.app.Activity
import android.app.AlertDialog
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() { class Constants() {
companion object { companion object {
const val BASE_URL ="https://www.providential.in/api/"
/**
*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
}
//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()
}
fun showDialogValidation(activity: Activity?, message: CharSequence?) {
val builder = AlertDialog.Builder(activity)
builder.setMessage(message)
builder.setPositiveButton("OK") { dialogInterface, i ->
dialogInterface.dismiss()
}
builder.show()
}
fun showDialogWithTwoButtons(activity: Activity?, message: CharSequence?) {
val builder = AlertDialog.Builder(activity)
builder.setMessage(message)
builder.setPositiveButton("OK") { dialogInterface, i ->
dialogInterface.dismiss()
}
builder.setNegativeButton("Cancel") { dialogInterface, i ->
dialogInterface.dismiss()
}
builder.show()
}
const val BASE_URL = "https://providential.in/WebApi_Bajaj/api/"
} }
} }

+ 25
- 25
app/src/main/res/layout/fragment_bajajfd_step_four.xml View File

@ -56,8 +56,8 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="5dp" android:layout_marginTop="5dp"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:paddingStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:text="Rating: FAAA by CRISIL" android:text="Rating: FAAA by CRISIL"
android:textColor="@color/light_text" android:textColor="@color/light_text"
app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintLeft_toLeftOf="parent"
@ -71,8 +71,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="15dp" android:layout_marginTop="15dp"
android:background="@color/grey_bg" android:background="@color/grey_bg"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:paddingStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:text="Make payment" android:text="Make payment"
android:textColor="@color/black" android:textColor="@color/black"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -84,8 +84,8 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:paddingEnd="@dimen/_5sdp"
android:layout_marginStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:paddingStart="0dp" android:paddingStart="0dp"
android:text="Invested Amount" android:text="Invested Amount"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
@ -99,10 +99,10 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="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:layout_marginTop="@dimen/margin_10"
android:layout_marginEnd="@dimen/margin_15"
android:paddingStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:text="Rs. 50,000" android:text="Rs. 50,000"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
@ -117,8 +117,8 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:paddingEnd="@dimen/_5sdp"
android:layout_marginStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:paddingStart="0dp" android:paddingStart="0dp"
android:text="Tenure" android:text="Tenure"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
@ -133,11 +133,11 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="2 Years" android:text="2 Years"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:layout_marginTop="@dimen/_5sdp"
android:layout_marginEnd="@dimen/_7sdp"
android:layout_marginStart="@dimen/_5sdp"
android:paddingStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:layout_marginTop="@dimen/margin_10"
android:layout_marginEnd="@dimen/margin_15"
android:layout_marginStart="@dimen/margin_10"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -151,8 +151,8 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:paddingEnd="@dimen/_5sdp"
android:layout_marginStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:paddingStart="0dp" android:paddingStart="0dp"
android:text="Interest Payout" android:text="Interest Payout"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
@ -168,8 +168,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:paddingStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:text="Monthly" android:text="Monthly"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -183,8 +183,8 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="10dp"
android:paddingEnd="@dimen/_5sdp"
android:layout_marginStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:paddingStart="0dp" android:paddingStart="0dp"
android:text="Rate of Interest" android:text="Rate of Interest"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
@ -200,8 +200,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginEnd="8dp" android:layout_marginEnd="8dp"
android:paddingStart="@dimen/_5sdp"
android:paddingEnd="@dimen/_5sdp"
android:paddingStart="@dimen/margin_10"
android:paddingEnd="@dimen/margin_10"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
android:text="6.75%" android:text="6.75%"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"


+ 10
- 10
app/src/main/res/layout/fragment_bajajfd_step_one.xml View File

@ -1,12 +1,13 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tool="http://schemas.android.com/tools" xmlns:tool="http://schemas.android.com/tools"
android:id="@+id/constraintLayout" android:id="@+id/constraintLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:background="@color/color_EFEFEF" android:background="@color/color_EFEFEF"
tool:context="com.nivesh.production.bajajfd.ui.fragment.StepTwoBajajFDFragment">
tool:context=".ui.fragment.StepTwoBajajFDFragment">
<ScrollView <ScrollView
android:id="@+id/scrollView" android:id="@+id/scrollView"
@ -48,9 +49,9 @@
<ImageView <ImageView
android:id="@+id/logo" android:id="@+id/logo"
android:layout_width="@dimen/margin_150" android:layout_width="@dimen/margin_150"
android:layout_height="18dp"
android:layout_height="@dimen/margin_18"
android:layout_marginStart="@dimen/margin_10" android:layout_marginStart="@dimen/margin_10"
android:layout_marginTop="@dimen/_2sdp"
android:layout_marginTop="@dimen/margin_5"
android:contentDescription="@string/content_description" android:contentDescription="@string/content_description"
android:src="@drawable/bajaj_logo" android:src="@drawable/bajaj_logo"
app:layout_constraintBottom_toBottomOf="@+id/tvFdRating" app:layout_constraintBottom_toBottomOf="@+id/tvFdRating"
@ -118,7 +119,6 @@
android:inputType="none" android:inputType="none"
android:labelFor="@+id/spInterestPayout" android:labelFor="@+id/spInterestPayout"
android:textColorHint="#757575" android:textColorHint="#757575"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
tool:ignore="DuplicateSpeakableTextCheck,LabelFor,TextContrastCheck" /> tool:ignore="DuplicateSpeakableTextCheck,LabelFor,TextContrastCheck" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -199,7 +199,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:paddingStart="@dimen/margin_15" android:paddingStart="@dimen/margin_15"
android:paddingEnd="@dimen/margin_15">
android:paddingEnd="@dimen/margin_20">
<RadioGroup <RadioGroup
android:id="@+id/radioGroup" android:id="@+id/radioGroup"
@ -255,7 +255,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:drawablePadding="@dimen/margin_10" android:drawablePadding="@dimen/margin_10"
android:padding="@dimen/_1sdp"
android:padding="@dimen/margin_5"
android:text="@string/TDSForm" android:text="@string/TDSForm"
android:textColor="@color/text_color_dark" android:textColor="@color/text_color_dark"
android:textSize="@dimen/text_size_12" android:textSize="@dimen/text_size_12"
@ -282,7 +282,7 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="@dimen/_1sdp"
android:padding="@dimen/margin_5"
android:text="@string/nonDeductTDS" android:text="@string/nonDeductTDS"
android:textColor="@color/text_color_dark" android:textColor="@color/text_color_dark"
android:textSize="@dimen/text_size_12" android:textSize="@dimen/text_size_12"
@ -410,8 +410,8 @@
android:id="@+id/btnNext" android:id="@+id/btnNext"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:layout_marginTop="@dimen/margin_10"
android:layout_marginBottom="@dimen/margin_10"
android:backgroundTint="@color/colorPrimary" android:backgroundTint="@color/colorPrimary"
android:text="@string/next" android:text="@string/next"
android:textColor="#FFFFFF" android:textColor="#FFFFFF"


+ 355
- 116
app/src/main/res/layout/fragment_bajajfd_step_two.xml View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
<androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/constraintLayout" android:id="@+id/constraintLayout"
@ -13,7 +14,7 @@
android:id="@+id/scrollView" android:id="@+id/scrollView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:layout_marginBottom="80dp"
android:layout_marginBottom="@dimen/margin_80"
android:background="@color/Nivesh_color_AppBg" android:background="@color/Nivesh_color_AppBg"
android:fillViewport="true" android:fillViewport="true"
android:visibility="visible" android:visibility="visible"
@ -27,7 +28,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:foreground="?android:attr/selectableItemBackground" android:foreground="?android:attr/selectableItemBackground"
app:cardElevation="1dp"
app:cardElevation="@dimen/margin_1"
app:cardUseCompatPadding="true"> app:cardUseCompatPadding="true">
<LinearLayout <LinearLayout
@ -39,12 +40,12 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:orientation="vertical"
android:padding="10dp">
android:padding="@dimen/margin_15">
<ImageView <ImageView
android:id="@+id/logo" android:id="@+id/logo"
android:layout_width="@dimen/margin_150" android:layout_width="@dimen/margin_150"
android:layout_height="18dp"
android:layout_height="@dimen/margin_18"
android:src="@drawable/bajaj_logo" android:src="@drawable/bajaj_logo"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
@ -59,7 +60,7 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="1dp"
android:layout_marginBottom="@dimen/margin_1"
android:text="Ratings: CRISIL AAA/Stable &amp; ICRA AAA/Stable" android:text="Ratings: CRISIL AAA/Stable &amp; ICRA AAA/Stable"
android:textColor="@color/light_text" android:textColor="@color/light_text"
android:textSize="@dimen/text_size_12" /> android:textSize="@dimen/text_size_12" />
@ -69,8 +70,8 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_20"
android:layout_marginBottom="1dp"
android:layout_marginTop="@dimen/margin_15"
android:layout_marginBottom="@dimen/margin_1"
android:text="All fields are mandatory other then optional" android:text="All fields are mandatory other then optional"
android:textColor="@color/light_text" android:textColor="@color/light_text"
android:textSize="@dimen/text_size_14" /> android:textSize="@dimen/text_size_14" />
@ -82,8 +83,8 @@
style="@style/semiBoldStyle" style="@style/semiBoldStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:paddingStart="@dimen/margin_18"
android:paddingEnd="@dimen/margin_10"
android:background="@color/grey_bg" android:background="@color/grey_bg"
android:padding="@dimen/margin_1" android:padding="@dimen/margin_1"
android:text="Personal Details" android:text="Personal Details"
@ -103,13 +104,15 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Mobile Number"> android:hint="Enter Mobile Number">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtMobileNumber"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="phone" android:inputType="phone"
android:textSize="@dimen/text_size_14"
android:maxEms="10" /> android:maxEms="10" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -119,13 +122,15 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="@dimen/margin_5"
android:hint="Date Of Birth"> android:hint="Date Of Birth">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtDOB"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:drawableEnd="@drawable/svg_cal" android:drawableEnd="@drawable/svg_cal"
android:textSize="@dimen/text_size_14"
android:inputType="date" /> android:inputType="date" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -135,41 +140,67 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_marginTop="5dp"
android:layout_margin="@dimen/margin_5"
android:hint="Enter PAN Number"> android:hint="Enter PAN Number">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtPANNumber"
android:textSize="@dimen/text_size_14"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:maxEms="10" /> android:maxEms="10" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spDuration"
<!-- <Spinner-->
<!-- android:id="@+id/spDuration"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_margin="@dimen/margin_5"-->
<!-- android:layout_marginTop="@dimen/margin_5"-->
<!-- android:background="@drawable/rounded_corner_with_line"-->
<!-- android:minHeight="@dimen/margin_48"-->
<!-- android:paddingStart="@dimen/margin_10"-->
<!-- android:paddingEnd="0dp"-->
<!-- android:entries="@array/title"/>-->
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlTitle"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:layout_width="match_parent" 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:paddingStart="@dimen/margin_10"
android:paddingEnd="0dp"
android:entries="@array/title"/>
android:layout_height="@dimen/margin_48"
android:layout_margin="@dimen/margin_5"
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tlDepositAmount">
<com.google.android.material.textfield.MaterialAutoCompleteTextView
android:id="@+id/spTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_corner_with_line"
android:hint="@string/selectTitle"
android:inputType="none"
android:labelFor="@+id/spInterestPayout"
android:textColorHint="#757575"
android:textSize="@dimen/text_size_14" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlFirstName" android:id="@+id/tlFirstName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="@dimen/margin_5"
android:hint="Enter First Name"> android:hint="Enter First Name">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtFirstName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="40" /> android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -179,14 +210,16 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_marginTop="5dp"
android:layout_margin="@dimen/margin_5"
android:layout_marginTop="@dimen/margin_5"
android:hint="@string/middle_name"> android:hint="@string/middle_name">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtMiddleName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="40" /> android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -196,42 +229,70 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Last Name" android:hint="Enter Last Name"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"> app:layout_constraintEnd_toEndOf="parent">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtLastName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="40" /> android:maxEms="40" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spGender"
<!-- <Spinner-->
<!-- android:id="@+id/spGender"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_margin="@dimen/margin_5"-->
<!-- android:background="@drawable/rounded_corner_with_line"-->
<!-- android:minHeight="@dimen/margin_48"-->
<!-- android:paddingStart="@dimen/margin_10"-->
<!-- android:textSize="@dimen/text_size_14"-->
<!-- android:paddingEnd="0dp"-->
<!-- android:entries="@array/gender" />-->
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlGender"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:layout_width="match_parent" 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:paddingStart="@dimen/margin_10"
android:paddingEnd="0dp"
android:entries="@array/gender" />
android:layout_height="@dimen/margin_48"
android:layout_margin="@dimen/margin_5"
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tlDepositAmount">
<com.google.android.material.textfield.MaterialAutoCompleteTextView
android:id="@+id/spGender"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_corner_with_line"
android:hint="@string/selectGender"
android:inputType="none"
android:labelFor="@+id/spInterestPayout"
android:textColorHint="#757575"
android:textSize="@dimen/text_size_14" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlEmail" android:id="@+id/tlEmail"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Email Address"> android:hint="Enter Email Address">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtEmail"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="textEmailAddress" android:inputType="textEmailAddress"
android:textSize="@dimen/text_size_14"
android:maxEms="50" /> android:maxEms="50" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -241,13 +302,15 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Occupation"> android:hint="Enter Occupation">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtOccupation"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="60" /> android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -257,117 +320,176 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="5dp"
android:layout_margin="@dimen/margin_5"
android:hint="Enter Qualification"> android:hint="Enter Qualification">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtQualification"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="60" /> android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout> </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:paddingStart="@dimen/margin_10"
android:paddingEnd="0dp"
android:entries="@array/maritalStatus"/>
<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" />
<!-- <Spinner-->
<!-- android:id="@+id/spMarital"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_margin="@dimen/margin_5"-->
<!-- android:background="@drawable/rounded_corner_with_line"-->
<!-- android:minHeight="@dimen/margin_48"-->
<!-- android:paddingStart="@dimen/margin_10"-->
<!-- android:textSize="@dimen/text_size_14"-->
<!-- android:paddingEnd="0dp"-->
<!-- android:entries="@array/maritalStatus"/>-->
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlRelationName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:id="@+id/tlMarital"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="@dimen/margin_48"
android:layout_margin="@dimen/margin_5" android:layout_margin="@dimen/margin_5"
android:hint="Relation Name">
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tlDepositAmount">
<com.google.android.material.textfield.TextInputEditText
<com.google.android.material.textfield.MaterialAutoCompleteTextView
android:id="@+id/spMarital"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
android:background="@drawable/rounded_corner_with_line"
android:hint="@string/selectMaritalStatus"
android:inputType="none"
android:labelFor="@+id/spInterestPayout"
android:textColorHint="#757575"
android:textSize="@dimen/text_size_14" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<!-- <Spinner-->
<!-- android:id="@+id/spRelation"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:layout_margin="@dimen/margin_5"-->
<!-- android:background="@drawable/rounded_corner_with_line"-->
<!-- android:minHeight="@dimen/margin_48"-->
<!-- android:entries="@array/interestPayoutList" />-->
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlAddressLine1"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:id="@+id/tlRelation"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_height="@dimen/margin_48"
android:layout_margin="@dimen/margin_5" android:layout_margin="@dimen/margin_5"
android:hint="Enter Address 1">
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tlDepositAmount">
<com.google.android.material.textfield.TextInputEditText
<com.google.android.material.textfield.MaterialAutoCompleteTextView
android:id="@+id/spRelation"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text"
android:maxEms="100" />
android:background="@drawable/rounded_corner_with_line"
android:hint="@string/selectRelation"
android:inputType="none"
android:labelFor="@+id/tlRelation"
android:textColorHint="#757575"
android:textSize="@dimen/text_size_14" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlAddressLine2"
android:id="@+id/tlRelationName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5" android:layout_margin="@dimen/margin_5"
android:hint="Enter Address 2">
android:hint="Relation Name">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtRelationName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="100" /> android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlArea"
android:id="@+id/tlAddressLine1"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5" android:layout_margin="@dimen/margin_5"
android:hint="Area">
android:hint="Enter Address 1">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtAddressLine1"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:maxEms="200" />
android:textSize="@dimen/text_size_14"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlCountry"
android:id="@+id/tlAddressLine2"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5" android:layout_margin="@dimen/margin_5"
android:hint="Country">
android:hint="Enter Address 2">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtAddressLine2"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:maxEms="200" />
android:textSize="@dimen/text_size_14"
android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout> </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:textSize="@dimen/text_size_14"-->
<!-- 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:textSize="@dimen/text_size_14"-->
<!-- android:maxEms="200" />-->
<!-- </com.google.android.material.textfield.TextInputLayout>-->
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlState" android:id="@+id/tlState"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
@ -377,9 +499,11 @@
android:hint="State"> android:hint="State">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtState"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="100" /> android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -393,9 +517,11 @@
android:hint="City"> android:hint="City">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtCity"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="100" /> android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -406,9 +532,11 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5" android:layout_margin="@dimen/margin_5"
android:textSize="@dimen/text_size_14"
android:hint="PinCode"> android:hint="PinCode">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtPinCode"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
@ -421,6 +549,10 @@
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:paddingTop="@dimen/margin_5"
android:paddingBottom="@dimen/margin_5"
android:paddingStart="@dimen/margin_15"
android:paddingEnd="@dimen/margin_15"
android:background="@color/grey_bg"> android:background="@color/grey_bg">
<TextView <TextView
@ -430,6 +562,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="@dimen/margin_3" android:padding="@dimen/margin_3"
android:layout_centerVertical="true" android:layout_centerVertical="true"
android:textSize="@dimen/text_size_14"
android:text="Nominee Details" android:text="Nominee Details"
android:textColor="@color/black" /> android:textColor="@color/black" />
@ -438,6 +571,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_alignParentEnd="true" android:layout_alignParentEnd="true"
android:textSize="@dimen/text_size_14"
android:layout_marginEnd="@dimen/margin_5"/> android:layout_marginEnd="@dimen/margin_5"/>
</RelativeLayout> </RelativeLayout>
@ -446,29 +580,56 @@
android:id="@+id/llNomineeDetail" android:id="@+id/llNomineeDetail"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:padding="@dimen/margin_10" android:padding="@dimen/margin_10"
android:orientation="vertical"> android:orientation="vertical">
<Spinner
android:id="@+id/spTitle"
<!-- <Spinner-->
<!-- android:id="@+id/spTitle"-->
<!-- android:layout_width="match_parent"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:background="@drawable/rounded_corner_with_line"-->
<!-- android:minHeight="@dimen/margin_48"-->
<!-- android:textSize="@dimen/text_size_14"-->
<!-- android:entries="@array/interestPayoutList" />-->
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlNomineeTitle"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_corner_with_line"
android:minHeight="48dp"
android:entries="@array/interestPayoutList" />
android:layout_height="@dimen/margin_48"
android:layout_margin="@dimen/margin_5"
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tlDepositAmount">
<com.google.android.material.textfield.MaterialAutoCompleteTextView
android:id="@+id/spNomineeTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_corner_with_line"
android:hint="@string/selectTitle"
android:inputType="none"
android:labelFor="@+id/spInterestPayout"
android:textColorHint="#757575"
android:textSize="@dimen/text_size_14" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlNomineeFirstName" android:id="@+id/tlNomineeFirstName"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Nominee First Name"> android:hint="Nominee First Name">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtNomineeFirstName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="100" /> android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -478,12 +639,15 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="@string/nominee_middle_name"> android:hint="@string/nominee_middle_name">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtNomineeMiddleName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="100" /> android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -493,12 +657,15 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Nominee Last Name"> android:hint="Nominee Last Name">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtNomineeLastName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="100" /> android:maxEms="100" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -508,29 +675,58 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="Nominee Date Of Birth"> android:hint="Nominee Date Of Birth">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtNomineeDOB"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:drawableEnd="@drawable/svg_cal" android:drawableEnd="@drawable/svg_cal"
android:textSize="@dimen/text_size_14"
android:inputType="date" /> android:inputType="date" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spNomineeRelation"
<!-- <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="@dimen/margin_48"-->
<!-- android:textSize="@dimen/text_size_14"-->
<!-- android:entries="@array/interestPayoutList" />-->
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlNomineeRelation"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:layout_width="match_parent" 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" />
android:layout_height="@dimen/margin_48"
android:layout_margin="@dimen/margin_5"
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tlDepositAmount">
<com.google.android.material.textfield.MaterialAutoCompleteTextView
android:id="@+id/spNomineeRelation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_corner_with_line"
android:hint="@string/selectTitle"
android:inputType="none"
android:labelFor="@+id/spInterestPayout"
android:textColorHint="#757575"
android:textSize="@dimen/text_size_14" />
</com.google.android.material.textfield.TextInputLayout>
<CheckBox <CheckBox
android:id="@+id/cbNomineeSameAddress" android:id="@+id/cbNomineeSameAddress"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="@dimen/margin_5"
android:text="Nominee address is same as Primary Applicant’s address" android:text="Nominee address is same as Primary Applicant’s address"
android:textSize="@dimen/text_size_10" /> android:textSize="@dimen/text_size_10" />
@ -539,12 +735,15 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="@string/guardian_name_optional"> android:hint="@string/guardian_name_optional">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtGuardianName"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="60" /> android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -554,36 +753,68 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="@string/guardian_age_optional"> android:hint="@string/guardian_age_optional">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtGuardianAge"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="60" /> android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
<Spinner
android:id="@+id/spGuardianRelation"
<!-- <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="@dimen/margin_48"-->
<!-- android:textSize="@dimen/text_size_14"-->
<!-- android:entries="@array/interestPayoutList" />-->
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlGuardianRelation"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
android:layout_width="match_parent" 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" />
android:layout_height="@dimen/margin_48"
android:layout_margin="@dimen/margin_5"
app:hintEnabled="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tlDepositAmount">
<com.google.android.material.textfield.MaterialAutoCompleteTextView
android:id="@+id/spGuardianRelation"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/rounded_corner_with_line"
android:hint="@string/selectTitle"
android:inputType="none"
android:labelFor="@+id/spInterestPayout"
android:textColorHint="#757575"
android:textSize="@dimen/text_size_14" />
</com.google.android.material.textfield.TextInputLayout>
<com.google.android.material.textfield.TextInputLayout <com.google.android.material.textfield.TextInputLayout
android:id="@+id/tlGuardianAddress" android:id="@+id/tlGuardianAddress"
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="@string/guardian_address_optional"> android:hint="@string/guardian_address_optional">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtGuardianAddress"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="60" /> android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -593,12 +824,15 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="@dimen/margin_5"
android:hint="@string/guardian_pinCode_optional"> android:hint="@string/guardian_pinCode_optional">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:id="@+id/edtGuardianPinCode"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:inputType="text" android:inputType="text"
android:textSize="@dimen/text_size_14"
android:maxEms="60" /> android:maxEms="60" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -610,10 +844,10 @@
style="@style/semiBoldStyle" style="@style/semiBoldStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="22dp"
android:background="@color/grey_bg" android:background="@color/grey_bg"
android:padding="@dimen/margin_3" android:padding="@dimen/margin_3"
android:text="Bank Details" android:text="Bank Details"
android:textSize="@dimen/text_size_14"
android:textColor="@color/black" android:textColor="@color/black"
app:drawableRightCompat="@drawable/svg_down_arrow" /> app:drawableRightCompat="@drawable/svg_down_arrow" />
@ -630,9 +864,9 @@
style="@style/regularStyle" style="@style/regularStyle"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:padding="@dimen/margin_3" android:padding="@dimen/margin_3"
android:text="Account type *" android:text="Account type *"
android:textSize="@dimen/text_size_14"
android:textColor="@color/black" android:textColor="@color/black"
app:layout_constraintTop_toBottomOf="@+id/tvFdRating" app:layout_constraintTop_toBottomOf="@+id/tvFdRating"
tools:layout_editor_absoluteX="5dp" /> tools:layout_editor_absoluteX="5dp" />
@ -660,13 +894,12 @@
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense" style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="@dimen/margin_8"
android:layout_marginBottom="@dimen/margin_8"
android:hint="Enter IFSC Code"> android:hint="Enter IFSC Code">
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_14"/>
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -696,7 +929,8 @@
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_14"/>
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -711,7 +945,8 @@
<com.google.android.material.textfield.TextInputEditText <com.google.android.material.textfield.TextInputEditText
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" />
android:layout_height="wrap_content"
android:textSize="@dimen/text_size_14"/>
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
@ -721,7 +956,6 @@
<RelativeLayout <RelativeLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="26dp"
android:background="@color/grey_bg"> android:background="@color/grey_bg">
<TextView <TextView
@ -733,6 +967,7 @@
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:padding="@dimen/margin_3" android:padding="@dimen/margin_3"
android:text="Payment mode" android:text="Payment mode"
android:textSize="@dimen/text_size_14"
android:textColor="@color/black" android:textColor="@color/black"
tools:layout_editor_absoluteX="5dp" /> tools:layout_editor_absoluteX="5dp" />
@ -745,6 +980,7 @@
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:padding="@dimen/margin_3" android:padding="@dimen/margin_3"
android:text="Eligible bank option" android:text="Eligible bank option"
android:textSize="@dimen/text_size_14"
android:textColor="@color/blue_text_color" android:textColor="@color/blue_text_color"
tools:layout_editor_absoluteX="5dp" /> tools:layout_editor_absoluteX="5dp" />
@ -775,6 +1011,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="12dp" android:layout_marginTop="12dp"
android:padding="@dimen/margin_3" android:padding="@dimen/margin_3"
android:textSize="@dimen/text_size_14"
android:text="Upto Rs. 1 lakh only" android:text="Upto Rs. 1 lakh only"
android:layout_marginStart="@dimen/margin_15" android:layout_marginStart="@dimen/margin_15"
android:layout_marginBottom="@dimen/margin_20" android:layout_marginBottom="@dimen/margin_20"
@ -802,11 +1039,12 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp"
android:layout_marginTop="@dimen/margin_20"
android:layout_marginBottom="@dimen/margin_15"
android:backgroundTint="@color/blue" android:backgroundTint="@color/blue"
android:text="@string/back" android:text="@string/back"
android:textColor="@color/white" android:textColor="@color/white"
android:textSize="@dimen/text_size_14"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/btnNext" app:layout_constraintEnd_toStartOf="@+id/btnNext"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -817,10 +1055,11 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginTop="20dp"
android:layout_marginBottom="15dp"
android:layout_marginTop="@dimen/margin_20"
android:layout_marginBottom="@dimen/margin_15"
android:backgroundTint="@color/colorPrimary" android:backgroundTint="@color/colorPrimary"
android:text="@string/next" android:text="@string/next"
android:textSize="@dimen/text_size_14"
android:textColor="@color/white" android:textColor="@color/white"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"


+ 1
- 1
app/src/main/res/layout/spinner_dropdown.xml View File

@ -2,7 +2,7 @@
<TextView xmlns:android="http://schemas.android.com/apk/res/android" <TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:padding="@dimen/margin_10"
android:padding="@dimen/margin_8"
android:textColor="@color/black" android:textColor="@color/black"
android:textSize="@dimen/text_size_14" android:textSize="@dimen/text_size_14"
style="@style/regularStyle"> style="@style/regularStyle">


+ 5
- 68
app/src/main/res/values/dimens.xml View File

@ -21,10 +21,8 @@
<dimen name="text_size_13">13sp</dimen> <dimen name="text_size_13">13sp</dimen>
<dimen name="text_size_14">14sp</dimen> <dimen name="text_size_14">14sp</dimen>
<dimen name="text_size_15">15sp</dimen> <dimen name="text_size_15">15sp</dimen>
<dimen name="text_size_16">16sp</dimen> <dimen name="text_size_16">16sp</dimen>
<dimen name="text_size_17">17sp</dimen> <dimen name="text_size_17">17sp</dimen>
<dimen name="text_size_18">18sp</dimen> <dimen name="text_size_18">18sp</dimen>
<dimen name="text_size_19">19sp</dimen> <dimen name="text_size_19">19sp</dimen>
<dimen name="text_size_20">20sp</dimen> <dimen name="text_size_20">20sp</dimen>
@ -37,7 +35,9 @@
<dimen name="margin_4">4dp</dimen> <dimen name="margin_4">4dp</dimen>
<dimen name="margin_5">5dp</dimen> <dimen name="margin_5">5dp</dimen>
<dimen name="margin_6">6dp</dimen> <dimen name="margin_6">6dp</dimen>
<dimen name="margin_7">7dp</dimen>
<dimen name="margin_8">8dp</dimen> <dimen name="margin_8">8dp</dimen>
<dimen name="margin_9">9dp</dimen>
<dimen name="margin_10">10dp</dimen> <dimen name="margin_10">10dp</dimen>
<dimen name="margin_11">11dp</dimen> <dimen name="margin_11">11dp</dimen>
<dimen name="margin_12">12dp</dimen> <dimen name="margin_12">12dp</dimen>
@ -46,6 +46,7 @@
<dimen name="margin_16">16dp</dimen> <dimen name="margin_16">16dp</dimen>
<dimen name="margin_18">18dp</dimen> <dimen name="margin_18">18dp</dimen>
<dimen name="margin_20">20dp</dimen> <dimen name="margin_20">20dp</dimen>
<dimen name="margin_22">22dp</dimen>
<dimen name="margin_25">25dp</dimen> <dimen name="margin_25">25dp</dimen>
<dimen name="margin_30">30dp</dimen> <dimen name="margin_30">30dp</dimen>
<dimen name="margin_32">32dp</dimen> <dimen name="margin_32">32dp</dimen>
@ -58,80 +59,16 @@
<dimen name="margin_48">48dp</dimen> <dimen name="margin_48">48dp</dimen>
<dimen name="margin_50">50dp</dimen> <dimen name="margin_50">50dp</dimen>
<dimen name="margin_53">53dp</dimen> <dimen name="margin_53">53dp</dimen>
<dimen name="margin_54">54dp</dimen>
<dimen name="margin_55">55dp</dimen> <dimen name="margin_55">55dp</dimen>
<dimen name="margin_60">60dp</dimen> <dimen name="margin_60">60dp</dimen>
<dimen name="margin_70">72dp</dimen> <dimen name="margin_70">72dp</dimen>
<dimen name="margin_80">80dp</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_120">120dp</dimen>
<dimen name="margin_150">150dp</dimen> <dimen name="margin_150">150dp</dimen>
<dimen name="margin_290">290dp</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_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">16dp</dimen>
<dimen name="appbar_padding_top">8dp</dimen>
</resources> </resources>

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

@ -64,6 +64,11 @@
<string name="regularInterestPayment">Regular Interest Payment:</string> <string name="regularInterestPayment">Regular Interest Payment:</string>
<string name="maturityAmount">Maturity Amount:</string> <string name="maturityAmount">Maturity Amount:</string>
<string name="selectTitle">Select Title</string>
<string name="selectGender">Select Gender</string>
<string name="selectMaritalStatus">Select Marital Status</string>
<string name="selectRelation">Select Relationship</string>
<string-array name="interestPayoutList"> <string-array name="interestPayoutList">
<item>On Maturity</item> <item>On Maturity</item>
<item>Monthly</item> <item>Monthly</item>
@ -72,6 +77,14 @@
<item>Yearly</item> <item>Yearly</item>
</string-array> </string-array>
<string-array name="tenure">
<item>On Maturity</item>
<item>Monthly</item>
<item>Quarterly</item>
<item>Half Yearly</item>
<item>Yearly</item>
</string-array>
<array name="address_type"> <array name="address_type">
<item>Aadhaar Card</item> <item>Aadhaar Card</item>
<item>PAN</item> <item>PAN</item>


Loading…
Cancel
Save

Powered by TurnKey Linux.