43 lines
1.4 KiB
XML
43 lines
1.4 KiB
XML
<?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"
|
|
android:padding="15dp"
|
|
android:background="?attr/primaryBackgroundColor" >
|
|
|
|
<ImageView
|
|
android:id="@+id/userAvatar"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginEnd="15dp"
|
|
android:contentDescription="@string/generalImgContentText"
|
|
android:src="@drawable/ic_android" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/userInfoSection"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_toEndOf="@+id/userAvatar"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/userFullName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/userName"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="16sp" />
|
|
|
|
<TextView
|
|
android:id="@+id/userName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="@string/userName"
|
|
android:textColor="?attr/primaryTextColor"
|
|
android:textSize="14sp" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout>
|