<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/layoutFrame"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:gravity="center"
    android:padding="8dp"
    android:orientation="vertical">

    <ImageView
        android:id="@+id/profileImage"
        android:visibility="visible"
        android:layout_width="36dp"
        android:layout_height="36dp"
        android:layout_marginEnd="15dp"
        android:contentDescription="@string/generalImgContentText" />

    <LinearLayout
        android:id="@+id/frameAccountsInfo"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_toEndOf="@+id/profileImage"
        android:layout_marginBottom="2dp">

        <TextView
            android:id="@+id/userName"
            android:layout_width="0dp"
            android:layout_height="wrap_content"
            android:layout_weight=".95"
            android:layout_gravity="start"
            android:textColor="?attr/primaryTextColor"
            android:textSize="16sp"
            android:textStyle="bold" />

        <ImageView
            android:id="@+id/activeAccount"
            android:layout_weight=".05"
            android:layout_width="10dp"
            android:layout_height="20dp"
            android:layout_gravity="end"
            android:src="@drawable/ic_check"
            android:visibility="gone"
            android:contentDescription="@string/generalImgContentText" />

    </LinearLayout>

    <TextView
        android:id="@+id/accountUrl"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="0dp"
        android:layout_toEndOf="@+id/profileImage"
        android:layout_below="@+id/frameAccountsInfo"
        android:textColor="?attr/primaryTextColor"
        android:textSize="16sp" />

</RelativeLayout>

