<LinearLayout 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/message_container"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:padding="8dp"
android:layout_marginBottom="4dp">
<!-- Profilkép + Név (egymás alatt) -->
<LinearLayout
android:id="@+id/profile_container"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginEnd="8dp"
android:gravity="center_horizontal">
<ImageView
android:id="@+id/imageProfile"
android:layout_width="40dp"
android:layout_height="40dp"
android:scaleType="centerCrop"
android:src="@drawable/ic_launcher_background"
android:background="@drawable/circle_background" />
<TextView
android:id="@+id/textName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
android:textSize="12sp"
android:gravity="center"
android:layout_marginTop="4dp"/>
</LinearLayout>
<!-- Üzenet tartalma -->
<LinearLayout
android:id="@+id/message_inner_container"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="8dp"
android:background="#424242"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:layout_marginEnd="4dp"
android:layout_marginStart="4dp"
android:backgroundTint="@null">
<TextView
android:id="@+id/textMessage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingVertical="4dp" />
<TextView
android:id="@+id/textDate"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="10sp"
android:paddingTop="2dp" />
<ImageView
android:id="@+id/mesageImg"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:srcCompat="@drawable/avatar_11"
tools:visibility="gone" />
</LinearLayout>
</LinearLayout>