<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    xmlns:app="http://schemas.android.com/apk/res-auto">


    <ImageView
        android:id="@+id/iv"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:adjustViewBounds="true"
        android:src="@drawable/btxt0"/>

    <com.maggie.stroketextviewlibrary.StrokeTextView
        android:layout_margin="@dimen/_15sdp"
        android:id="@+id/number"
        android:layout_centerHorizontal="true"
        android:drawableLeft="@drawable/ic_call"
        android:drawablePadding="@dimen/_5sdp"
        android:layout_marginTop="-3dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="0123456789"
        android:textSize="15sp"
        android:textColor="@color/white"
        android:fontFamily="@font/calibrid"
        app:stroke="5.0"
        app:strokeColor="#000000"/>


    <RelativeLayout
        android:layout_below="@id/iv"
        android:id="@+id/frameLay"
        android:orientation="horizontal"
        android:background="#DF4E20"
        android:gravity="center_vertical"
        android:layout_width="match_parent"
        android:layout_height="60dp">
        <LinearLayout
            android:gravity="center"
            android:layout_marginLeft="@dimen/_40sdp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerVertical="true"
            android:orientation="vertical">
            <com.maggie.stroketextviewlibrary.StrokeTextView
                android:id="@+id/user_name"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text=" Hello Android! "
                android:textSize="22sp"
                android:textColor="#4CAF50"
                android:fontFamily="@font/calibrid"
                app:stroke="10.0"
                app:strokeColor="#FFFFFF"/>
            <com.maggie.stroketextviewlibrary.StrokeTextView
                android:id="@+id/designation"
                android:layout_marginTop="-3dp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text=" Hello Android! "
                android:textSize="13sp"
                android:textColor="@color/white"
                android:fontFamily="@font/calibrid"
                app:stroke="0.0"
                app:strokeColor="#FFFFFF"/>
        </LinearLayout>
        <View
            android:layout_alignParentRight="true"
            android:layout_width="20dp"
            android:layout_height="match_parent"
            android:background="#4CAF50"/>
    </RelativeLayout>

    <androidx.cardview.widget.CardView
        android:id="@+id/imgLay"
        android:layout_margin="@dimen/_15sdp"
        android:layout_alignBottom="@+id/frameLay"
        app:cardCornerRadius="@dimen/_5sdp"
        app:cardElevation="@dimen/_10sdp"
        android:layout_width="80dp"
        android:layout_height="80dp">
        <androidx.cardview.widget.CardView
            app:cardCornerRadius="@dimen/_5sdp"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_margin="@dimen/_3sdp">
            <ImageView
                android:id="@+id/profile_pic"
                android:src="@drawable/flag_india"
                android:scaleType="centerCrop"
                android:layout_width="match_parent"
                android:layout_height="match_parent"/>
        </androidx.cardview.widget.CardView>
    </androidx.cardview.widget.CardView>


</RelativeLayout>