775 lines
33 KiB
XML
775 lines
33 KiB
XML
|
|
<?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/main"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:background="@color/white"
|
||
|
|
tools:context=".newscreens_mobile.myapps.Profile">
|
||
|
|
|
||
|
|
<!-- Header -->
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/headerLayout"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="#DEECFF"
|
||
|
|
android:padding="@dimen/dp_20"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
app:layout_constraintTop_toTopOf="parent">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/backArrow"
|
||
|
|
android:layout_width="@dimen/dp_20"
|
||
|
|
android:layout_height="@dimen/dp_20"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:src="@drawable/back_arrow_new_mobile" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/title"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginStart="@dimen/dp_10"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="My Profile"
|
||
|
|
android:textColor="@color/black"
|
||
|
|
android:textSize="22dp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ScrollView
|
||
|
|
|
||
|
|
android:id="@+id/scrollContent"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="0dp"
|
||
|
|
app:layout_constraintTop_toBottomOf="@id/headerLayout"
|
||
|
|
app:layout_constraintBottom_toTopOf="@id/bottom_navigation"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent">
|
||
|
|
|
||
|
|
<!-- ONE root inside ScrollView -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:background="#FFFFFF"
|
||
|
|
android:paddingBottom="16dp">
|
||
|
|
|
||
|
|
<!-- Profile Image Section -->
|
||
|
|
<com.google.android.material.imageview.ShapeableImageView
|
||
|
|
android:id="@+id/productIcon"
|
||
|
|
android:layout_width="130dp"
|
||
|
|
android:layout_height="130dp"
|
||
|
|
android:layout_marginTop="10dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:scaleType="fitXY"
|
||
|
|
android:src="@drawable/default_products"
|
||
|
|
app:shapeAppearanceOverlay="@style/CircularImageView" />
|
||
|
|
|
||
|
|
<!-- Name -->
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/fullNameTxt"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:fontFamily="@font/inter_600"
|
||
|
|
android:text="Uma Maheswari A R"
|
||
|
|
android:textColor="#000000"
|
||
|
|
android:textSize="21sp"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<!-- Email -->
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/emailAddressTxt"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="#7D7D7D"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="uma0410@gmail.com"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<!-- Phone -->
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/mobileNumberTxt"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
|
||
|
|
android:textColor="#7D7D7D"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:fontFamily="@font/inter_700"
|
||
|
|
android:text="6379535488"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<!-- Member Since -->
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/purchasedate"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:gravity="center"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:layout_marginTop="5dp"
|
||
|
|
android:textColor="#939393"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Member since 01 January 2023 at 05:30 am"
|
||
|
|
android:textSize="12sp" />
|
||
|
|
|
||
|
|
<!-- Tabs Layout (unchanged from your design) -->
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="40dp"
|
||
|
|
android:layout_marginHorizontal="@dimen/dp_10"
|
||
|
|
android:layout_marginTop="20dp"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<!-- Tabs -->
|
||
|
|
<TextView
|
||
|
|
|
||
|
|
android:padding="@dimen/sp_4"
|
||
|
|
android:foregroundGravity="center"
|
||
|
|
android:gravity="center"
|
||
|
|
android:id="@+id/prHeading"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="1"
|
||
|
|
|
||
|
|
android:paddingHorizontal="4dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:textColor="#A8A8A8"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:drawableLeft="@drawable/profile_pic_icon"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Profile Information" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.7"
|
||
|
|
android:id="@+id/securityHeading"
|
||
|
|
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:textColor="#A8A8A8"
|
||
|
|
android:gravity="center"
|
||
|
|
android:paddingHorizontal="4dp"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
|
||
|
|
android:drawableLeft="@drawable/securityll"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Security"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_weight="0.8"
|
||
|
|
android:id="@+id/ieHeading"
|
||
|
|
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingHorizontal="4dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:textColor="#A8A8A8"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:drawableLeft="@drawable/referalnew"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Invite & Earn"
|
||
|
|
android:textSize="16sp" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
//profileinfo
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/profileinfo"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="@dimen/_20dp"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:visibility="visible">
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_25"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/sp_0"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Profile Information"
|
||
|
|
android:textColor="#1E1E1E"
|
||
|
|
android:letterSpacing="-0.03"
|
||
|
|
android:textSize="@dimen/dp_17"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:gravity="end"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="16dp"
|
||
|
|
android:layout_height="16dp"
|
||
|
|
android:layout_marginEnd="3dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:src="@drawable/editiconmy" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/editpage"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Edit Profile"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#1E1E1E"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textStyle="bold" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Name"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/fullName"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:drawablePadding="@dimen/dp_10"
|
||
|
|
android:drawableTint="#BEBEBE"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint="Full Name"
|
||
|
|
android:paddingLeft="@dimen/dp_10"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="#8F8F8F"
|
||
|
|
android:textColorHint="#A8A8A8" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Email"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_15" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/emailAddress"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:drawablePadding="@dimen/dp_10"
|
||
|
|
android:drawableTint="#BEBEBE"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint="Email Address"
|
||
|
|
android:paddingLeft="@dimen/dp_10"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="#8F8F8F"
|
||
|
|
android:textColorHint="#A8A8A8" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Mobile"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_15" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/phoneNumber"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:inputType="number"
|
||
|
|
android:maxLength="10"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:drawablePadding="@dimen/dp_10"
|
||
|
|
android:drawableTint="#BEBEBE"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint="Mobile Number"
|
||
|
|
android:paddingLeft="@dimen/dp_10"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:textColor="#8F8F8F"
|
||
|
|
android:textColorHint="#A8A8A8" />
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_30">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/submitinfo"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/button_gradient"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Submit"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textAllCaps="false"
|
||
|
|
android:textColor="#FFFFFF"
|
||
|
|
android:textSize="@dimen/dp_16" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
//security
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/security"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:orientation="vertical"
|
||
|
|
android:layout_marginHorizontal="20dp"
|
||
|
|
android:visibility="gone">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_25"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Security"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#1E1E1E"
|
||
|
|
android:textSize="@dimen/dp_17" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_15"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/sp_0"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Password"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_marginRight="@dimen/_20dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="@dimen/dp_18"
|
||
|
|
android:layout_height="18dp"
|
||
|
|
android:layout_marginEnd="5dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:src="@drawable/editiconmy" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/editpassword"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Edit Password"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/password_et_new"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:drawableEnd="@drawable/pin_see"
|
||
|
|
android:drawablePadding="@dimen/dp_10"
|
||
|
|
android:inputType="textPassword"
|
||
|
|
android:maxLength="20"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint="Password"
|
||
|
|
android:padding="@dimen/dp_10"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:paddingLeft="@dimen/dp_10"
|
||
|
|
android:textColor="#1E1E1E"
|
||
|
|
android:textColorHint="#A8A8A8" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_15"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/sp_0"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="confirmation Password"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/conformpassword_et_new"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:drawableEnd="@drawable/pin_see"
|
||
|
|
android:drawablePadding="@dimen/dp_10"
|
||
|
|
android:inputType="textPassword"
|
||
|
|
android:maxLength="20"
|
||
|
|
android:maxLines="1"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint="confirmation Password"
|
||
|
|
android:padding="@dimen/dp_10"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:paddingLeft="@dimen/dp_10"
|
||
|
|
android:textColor="#1E1E1E"
|
||
|
|
android:textColorHint="#A8A8A8" />
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_15"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:weightSum="1">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="@dimen/sp_0"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Pin"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="0.5"
|
||
|
|
android:gravity="end"
|
||
|
|
android:layout_marginRight="@dimen/_20dp"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:layout_width="@dimen/dp_18"
|
||
|
|
android:layout_height="18dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginEnd="5dp"
|
||
|
|
android:src="@drawable/editiconmy" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/editpin"
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Edit Pin"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
</LinearLayout>
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/password_et_new_pin"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:drawableEnd="@drawable/pin_see"
|
||
|
|
android:drawablePadding="@dimen/dp_10"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:inputType="numberPassword"
|
||
|
|
android:maxLength="4"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint="Pin"
|
||
|
|
android:padding="@dimen/dp_10"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:paddingLeft="@dimen/dp_10"
|
||
|
|
android:textColor="#1E1E1E"
|
||
|
|
android:textColorHint="#A8A8A8" />
|
||
|
|
|
||
|
|
//password submit
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_30">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/passwordsubmitsecurity"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/button_gradient"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Submit"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textAllCaps="false"
|
||
|
|
android:textColor="#FFFFFF"
|
||
|
|
android:textSize="@dimen/dp_16" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
//pin submit
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/pinsubmitsecurity"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/button_gradient"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Submit"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textAllCaps="false"
|
||
|
|
android:textColor="#FFFFFF"
|
||
|
|
android:textSize="@dimen/dp_16" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
//invite and earn
|
||
|
|
<LinearLayout
|
||
|
|
android:id="@+id/invetearn"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginHorizontal="@dimen/_20dp"
|
||
|
|
android:visibility="gone"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_25"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Invite & Earn"
|
||
|
|
android:textColor="#1E1E1E"
|
||
|
|
android:textStyle="bold"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textSize="@dimen/dp_17" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:fontFamily="@font/inter"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#A8A8A8"
|
||
|
|
android:text="Enter your mobile number to get your unique referral code and start earning rewards."
|
||
|
|
android:textSize="@dimen/dp_12" />
|
||
|
|
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Mobile number"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
|
||
|
|
<EditText
|
||
|
|
android:id="@+id/referalnumber"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:layout_marginRight="10dp"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:drawablePadding="@dimen/dp_10"
|
||
|
|
android:drawableTint="#BEBEBE"
|
||
|
|
android:inputType="number"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:maxLength="10"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:hint="Your Mobile Number"
|
||
|
|
android:paddingLeft="@dimen/dp_10"
|
||
|
|
android:textColor="#8F8F8F"
|
||
|
|
android:textColorHint="#A8A8A8" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_10"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Your Code"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#3F3F3F"
|
||
|
|
android:textSize="@dimen/dp_14" />
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="@dimen/dp_50"
|
||
|
|
android:background="@drawable/common_white_bg_grey_stroke_1dp"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:padding="@dimen/dp_15"
|
||
|
|
android:weightSum="3">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/referalcode"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="2.4"
|
||
|
|
android:textSize="@dimen/dp_14"
|
||
|
|
android:text="********************"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:drawableTint="#BEBEBE"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:textColor="#8F8F8F"
|
||
|
|
android:textColorHint="#A8A8A8" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/referalshare"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="0.3"
|
||
|
|
android:src="@drawable/shareimage" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/referalcopy"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_weight="0.3"
|
||
|
|
android:src="@drawable/copynew" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="@dimen/dp_30">
|
||
|
|
|
||
|
|
<Button
|
||
|
|
android:id="@+id/referalbutton"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:background="@drawable/button_gradient"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Generate Referral Code"
|
||
|
|
android:textColor="#FFFFFF"
|
||
|
|
android:textAllCaps="false"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textSize="@dimen/dp_16" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:layout_marginTop="05dp"
|
||
|
|
android:gravity="center"
|
||
|
|
android:orientation="horizontal">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textColor="#939393"
|
||
|
|
android:text="By generating, you agree to our "
|
||
|
|
android:textSize="@dimen/dp_12" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:layout_width="wrap_content"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:fontFamily="@font/inter_500"
|
||
|
|
android:text="Referral Terms"
|
||
|
|
android:textColor="#004BA9"
|
||
|
|
android:letterSpacing="-0.05"
|
||
|
|
android:textSize="@dimen/dp_12" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</LinearLayout>
|
||
|
|
</ScrollView>
|
||
|
|
|
||
|
|
<com.google.android.material.bottomnavigation.BottomNavigationView
|
||
|
|
android:id="@+id/bottom_navigation"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="60dp"
|
||
|
|
android:background="@drawable/bg_bottom_nav"
|
||
|
|
app:itemIconTint="@color/nav_item_color"
|
||
|
|
android:layout_marginHorizontal="@dimen/dp_50"
|
||
|
|
android:layout_marginBottom="20dp"
|
||
|
|
app:itemTextColor="@color/nav_item_color"
|
||
|
|
app:labelVisibilityMode="labeled"
|
||
|
|
app:itemTextAppearanceActive="@style/BottomNavLabelStyle"
|
||
|
|
app:itemTextAppearanceInactive="@style/BottomNavLabelStyle"
|
||
|
|
app:menu="@menu/bottom_nav_menu_new_my_apps"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintStart_toStartOf="parent"
|
||
|
|
app:layout_constraintEnd_toEndOf="parent"
|
||
|
|
app:elevation="0dp"
|
||
|
|
android:elevation="0dp" />
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|