sdk integration
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -18,3 +18,4 @@ vcs.xml
|
||||
digio-kyc-1.0.13/build
|
||||
digio-esign-v2.8.0/build
|
||||
truecallersdk-2.6.1-releasePartner/build
|
||||
finoramic-android-sdk/build
|
||||
|
||||
@@ -299,6 +299,9 @@ dependencies {
|
||||
implementation 'com.singular.sdk:singular_sdk:9.4.1'
|
||||
implementation 'com.google.android.gms:play-services-ads:10.0.1'
|
||||
|
||||
// finormic
|
||||
implementation project(":finoramic-android-sdk")
|
||||
|
||||
// AndroidJUnitRunner and JUnit Rules
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
||||
androidTestImplementation 'com.android.support.test:rules:1.0.2'
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
/*
|
||||
* *
|
||||
* * Copyright (c) 2021 . All rights reserved @Navi
|
||||
*
|
||||
*/
|
||||
|
||||
package com.naviapp.common.customview
|
||||
|
||||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.view.LayoutInflater
|
||||
import android.widget.FrameLayout
|
||||
import android.widget.LinearLayout
|
||||
import androidx.databinding.DataBindingUtil
|
||||
import com.naviapp.R
|
||||
import com.naviapp.common.listeners.CtaListener
|
||||
import com.naviapp.databinding.TextIconViewWithTickBinding
|
||||
import com.naviapp.databinding.ViewTagBinding
|
||||
|
||||
|
||||
class TextIconViewWithTick(context: Context?, attrs: AttributeSet?) : LinearLayout(context, attrs) {
|
||||
private var binding: TextIconViewWithTickBinding
|
||||
private var clickListener: CtaListener? = null
|
||||
|
||||
init {
|
||||
val inflater = LayoutInflater.from(context)
|
||||
binding = DataBindingUtil.inflate(inflater, R.layout.text_icon_view_with_tick, this, true)
|
||||
layoutParams = FrameLayout.LayoutParams(
|
||||
FrameLayout.LayoutParams.MATCH_PARENT,
|
||||
FrameLayout.LayoutParams.WRAP_CONTENT
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
fun setListener(clickListener: CtaListener?){
|
||||
this.clickListener = clickListener
|
||||
|
||||
}
|
||||
}
|
||||
45
app/src/main/res/layout/text_icon_view_with_tick.xml
Normal file
45
app/src/main/res/layout/text_icon_view_with_tick.xml
Normal file
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
~ /**
|
||||
~ * Copyright (c) 2021 . All rights reserved @Navi
|
||||
~ */
|
||||
-->
|
||||
<layout 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">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/rounded_rectangle_blue_border_white_bg_15dp_radius"
|
||||
android:padding="@dimen/layout_dp_22">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/icon_iv"
|
||||
android:layout_width="@dimen/layout_dp_24"
|
||||
android:layout_height="@dimen/layout_dp_24"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/status_iv"
|
||||
android:layout_width="@dimen/layout_dp_18"
|
||||
android:layout_height="@dimen/layout_dp_18"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/icon_iv"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/icon_iv"
|
||||
app:srcCompat="@drawable/ic_green_tick" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/content_tv"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:layout_constrainedWidth="true"
|
||||
android:layout_marginStart="@dimen/layout_dp_12"
|
||||
android:layout_marginEnd="@dimen/layout_dp_18"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/icon_iv"
|
||||
app:layout_constraintStart_toEndOf="@+id/icon_iv"
|
||||
app:layout_constraintTop_toTopOf="@+id/icon_iv"
|
||||
tools:text="jkhjkhhkhkhghjghj fghfghfghfhfhgf fgfghf hg hgjg ghfgf gfghf hgfg " />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</layout>
|
||||
@@ -58,6 +58,16 @@
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/marital_status_layout" />
|
||||
|
||||
<com.naviapp.common.customview.TextIconViewWithTick
|
||||
android:id="@+id/google_lay"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_marginTop="@dimen/layout_dp_40"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/pincode_layout" />
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.Guideline
|
||||
android:id="@+id/guideline"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
4
gradle/wrapper/gradle-wrapper.properties
vendored
4
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -1,6 +1,6 @@
|
||||
#Mon Feb 15 14:38:47 IST 2021
|
||||
#Fri Jul 23 13:12:50 IST 2021
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-all.zip
|
||||
|
||||
Reference in New Issue
Block a user