Whatsapp login (#5346)

* add new fragment

* add new flow files

* add images and add whatsapp support

* change in layout ui

* add lottie files and support

* change location of action check response

* changes in whatsapp fragment

* add constant and clean code

* clean import

* remove letter spacing

* change in layout

* remove mock

* change location in no navi sales call

* change image location
This commit is contained in:
Abhinav Gupta
2023-02-14 17:29:16 +05:30
committed by GitHub Enterprise
parent 2159c9a7d3
commit 6e013c433a
4 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ /**
~ * Copyright (c) 2021 . All rights reserved @Navi
~ */
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/bannerColor" />
<corners android:radius="@dimen/layout_dp_4" />
</shape>

View File

@@ -0,0 +1,13 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp"
android:height="16dp"
android:viewportWidth="16"
android:viewportHeight="16">
<path
android:fillColor="#ffffff"
android:pathData="M6,4h4v8h-4z" />
<path
android:fillColor="#EF0000"
android:fillType="evenOdd"
android:pathData="M8.001,14.667C4.319,14.667 1.335,11.683 1.335,8.001C1.335,4.319 4.319,1.334 8.001,1.334C11.683,1.334 14.668,4.319 14.668,8.001C14.668,11.683 11.683,14.667 8.001,14.667ZM8.001,4.667C7.633,4.667 7.335,4.966 7.335,5.334V8.001C7.335,8.369 7.633,8.667 8.001,8.667C8.369,8.667 8.668,8.369 8.668,8.001V5.334C8.668,4.966 8.369,4.667 8.001,4.667ZM7.335,10.334C7.335,10.15 7.484,10.001 7.668,10.001H8.335C8.519,10.001 8.668,10.15 8.668,10.334V11.001C8.668,11.185 8.519,11.334 8.335,11.334H7.668C7.484,11.334 7.335,11.185 7.335,11.001V10.334Z" />
</vector>

View File

@@ -0,0 +1,9 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="14dp"
android:height="14dp"
android:viewportWidth="14"
android:viewportHeight="14">
<path
android:fillColor="#FF5732"
android:pathData="M11.834,13.667C11.779,13.667 11.724,13.667 11.663,13.661C9.697,13.448 7.786,12.767 6.136,11.697C4.602,10.724 3.275,9.399 2.302,7.866C1.23,6.213 0.548,4.298 0.341,2.334C0.317,2.072 0.348,1.823 0.427,1.58C0.506,1.337 0.64,1.118 0.81,0.929C0.981,0.741 1.188,0.595 1.419,0.491C1.656,0.388 1.906,0.333 2.162,0.333H3.988C4.414,0.333 4.852,0.485 5.193,0.777C5.528,1.063 5.747,1.464 5.808,1.902C5.881,2.443 6.015,2.978 6.203,3.483C6.325,3.811 6.355,4.164 6.276,4.504C6.203,4.845 6.033,5.161 5.789,5.404L5.351,5.842C6.069,6.961 7.019,7.915 8.145,8.633L8.583,8.195C8.833,7.945 9.149,7.775 9.49,7.708C9.831,7.635 10.184,7.66 10.513,7.781C11.018,7.97 11.554,8.104 12.09,8.177C12.54,8.237 12.942,8.462 13.234,8.803C13.52,9.143 13.678,9.575 13.666,10.019V11.837C13.666,12.092 13.617,12.335 13.514,12.572C13.41,12.803 13.258,13.016 13.076,13.186C12.887,13.357 12.668,13.49 12.424,13.569C12.229,13.636 12.035,13.667 11.834,13.667ZM4,1.549H3.994H2.162C2.076,1.549 1.997,1.568 1.918,1.604C1.839,1.634 1.766,1.683 1.711,1.744C1.65,1.805 1.608,1.878 1.583,1.963C1.559,2.042 1.547,2.127 1.553,2.212C1.742,3.981 2.356,5.708 3.324,7.21C4.207,8.596 5.406,9.794 6.794,10.675C8.291,11.648 10.02,12.256 11.785,12.451C11.858,12.457 11.943,12.445 12.023,12.42C12.102,12.396 12.175,12.347 12.242,12.293C12.309,12.238 12.357,12.165 12.388,12.086C12.424,12.007 12.436,11.922 12.436,11.837V10.013C12.436,10.007 12.436,10 12.436,10C12.443,9.849 12.388,9.709 12.29,9.593C12.193,9.478 12.059,9.405 11.913,9.386C11.292,9.307 10.671,9.149 10.075,8.93C9.965,8.888 9.843,8.882 9.734,8.906C9.618,8.93 9.515,8.985 9.429,9.07L8.662,9.842C8.468,10.037 8.169,10.073 7.932,9.94C6.313,9.022 4.974,7.678 4.048,6.067C3.921,5.811 3.957,5.513 4.152,5.319L4.925,4.547C5.004,4.468 5.059,4.364 5.083,4.249C5.108,4.133 5.102,4.018 5.059,3.908C4.834,3.313 4.682,2.692 4.596,2.066C4.578,1.926 4.505,1.793 4.395,1.695C4.286,1.604 4.146,1.549 4,1.549Z" />
</vector>

View File

@@ -0,0 +1,26 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="#ffffff"
android:fillType="evenOdd"
android:pathData="M2.434,21.652L3.781,16.734C2.95,15.295 2.513,13.662 2.513,11.99C2.516,6.757 6.774,2.5 12.007,2.5C14.547,2.501 16.93,3.49 18.722,5.283C20.514,7.077 21.501,9.461 21.5,11.997C21.498,17.229 17.239,21.487 12.007,21.487H12.003C10.415,21.486 8.853,21.088 7.466,20.331L2.434,21.652Z" />
<path
android:fillColor="#ffffff"
android:fillType="evenOdd"
android:pathData="M2.434,21.902C2.368,21.902 2.304,21.875 2.256,21.827C2.194,21.764 2.169,21.671 2.193,21.586L3.512,16.768C2.694,15.315 2.263,13.665 2.264,11.99C2.266,6.619 6.636,2.25 12.007,2.25C14.612,2.251 17.059,3.266 18.899,5.107C20.739,6.948 21.751,9.395 21.75,11.997C21.748,17.368 17.377,21.737 12.007,21.737C10.413,21.736 8.835,21.343 7.435,20.598L2.497,21.893C2.476,21.899 2.455,21.902 2.434,21.902Z" />
<path
android:fillColor="#CFD8DC"
android:fillType="evenOdd"
android:pathData="M12.007,2.5C14.547,2.501 16.93,3.49 18.722,5.283C20.514,7.077 21.501,9.461 21.5,11.997C21.498,17.229 17.239,21.487 12.007,21.487H12.003C10.415,21.486 8.853,21.088 7.467,20.331L2.434,21.652L3.781,16.734C2.95,15.295 2.513,13.662 2.514,11.99C2.516,6.757 6.774,2.5 12.007,2.5ZM12.007,2C6.499,2 2.016,6.481 2.014,11.99C2.013,13.673 2.438,15.332 3.244,16.801L1.952,21.52C1.905,21.692 1.953,21.876 2.079,22.003C2.174,22.1 2.302,22.152 2.434,22.152C2.477,22.152 2.519,22.146 2.561,22.135L7.405,20.865C8.819,21.6 10.403,21.987 12.003,21.987C17.515,21.987 21.998,17.506 22,11.998C22.001,9.328 20.963,6.818 19.076,4.93C17.189,3.042 14.679,2.001 12.007,2Z" />
<path
android:fillColor="#40C351"
android:fillType="evenOdd"
android:pathData="M17.588,6.416C16.098,4.925 14.118,4.104 12.009,4.103C7.657,4.103 4.118,7.641 4.116,11.99C4.115,13.481 4.532,14.932 5.322,16.188L5.51,16.486L4.713,19.397L7.699,18.614L7.988,18.785C9.199,19.504 10.588,19.884 12.004,19.885H12.007C16.356,19.885 19.896,16.346 19.897,11.997C19.897,9.889 19.078,7.907 17.588,6.416Z" />
<path
android:fillColor="#ffffff"
android:fillType="evenOdd"
android:pathData="M9.634,8.023C9.457,7.628 9.269,7.62 9.1,7.613C8.962,7.607 8.804,7.607 8.646,7.607C8.488,7.607 8.23,7.667 8.013,7.904C7.795,8.142 7.182,8.715 7.182,9.882C7.182,11.049 8.033,12.177 8.151,12.335C8.269,12.493 9.792,14.965 12.203,15.915C14.207,16.705 14.615,16.549 15.05,16.509C15.484,16.469 16.453,15.936 16.65,15.382C16.848,14.828 16.848,14.353 16.789,14.254C16.729,14.155 16.572,14.096 16.334,13.977C16.097,13.858 14.931,13.285 14.714,13.205C14.496,13.127 14.338,13.087 14.179,13.325C14.021,13.561 13.567,14.096 13.429,14.254C13.29,14.413 13.151,14.432 12.915,14.314C12.677,14.194 11.913,13.944 11.007,13.137C10.302,12.508 9.826,11.731 9.688,11.494C9.549,11.257 9.672,11.128 9.792,11.01C9.898,10.903 10.028,10.733 10.148,10.594C10.266,10.456 10.306,10.357 10.384,10.199C10.464,10.04 10.424,9.902 10.365,9.783C10.306,9.665 9.845,8.491 9.634,8.023Z" />
</vector>