2021-10-04 15:35:34 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2021-10-04 15:35:34 +02:00
|
|
|
android:gravity="center_vertical"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:paddingTop="@dimen/dimen4dp"
|
|
|
|
android:paddingBottom="@dimen/dimen4dp">
|
2021-10-04 15:35:34 +02:00
|
|
|
|
2022-08-07 21:34:02 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
2022-08-12 04:01:51 +02:00
|
|
|
android:id="@+id/card"
|
|
|
|
android:layout_width="match_parent"
|
2021-10-04 15:35:34 +02:00
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
style="?attr/materialCardViewFilledStyle">
|
2021-10-04 15:35:34 +02:00
|
|
|
|
2022-08-12 04:01:51 +02:00
|
|
|
<LinearLayout
|
2021-10-04 15:35:34 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:background="?attr/materialCardBackgroundColor"
|
2022-08-12 04:01:51 +02:00
|
|
|
android:foreground="?android:attr/selectableItemBackground"
|
2022-08-26 19:00:08 +02:00
|
|
|
android:padding="@dimen/dimen12dp"
|
|
|
|
android:orientation="horizontal">
|
2021-10-04 15:35:34 +02:00
|
|
|
|
2022-08-12 04:01:51 +02:00
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:layout_width="@dimen/dimen24dp"
|
|
|
|
android:layout_height="@dimen/dimen24dp"
|
2022-08-26 19:00:08 +02:00
|
|
|
style="?attr/materialCardViewFilledStyle"
|
|
|
|
app:cardElevation="@dimen/dimen0dp"
|
2022-08-12 04:01:51 +02:00
|
|
|
android:layout_marginEnd="@dimen/dimen12dp"
|
2022-08-26 19:00:08 +02:00
|
|
|
app:cardCornerRadius="@dimen/dimen12dp">
|
2022-08-12 04:01:51 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/userAvatar"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:contentDescription="@string/generalImgContentText"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:src="@drawable/ic_android"/>
|
2021-10-04 15:35:34 +02:00
|
|
|
|
2022-08-12 04:01:51 +02:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/userInfoSection"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
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="@dimen/dimen16sp"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textStyle="bold"/>
|
2022-08-12 04:01:51 +02:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/userName"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="@string/userName"
|
|
|
|
android:textColor="?attr/primaryTextColor"
|
2022-08-15 16:26:02 +02:00
|
|
|
android:textSize="@dimen/dimen14sp"/>
|
2022-08-12 04:01:51 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
2021-10-04 15:35:34 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|