-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout_sender_message.xml
43 lines (36 loc) · 1.52 KB
/
layout_sender_message.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version="1.0" encoding="utf-8"?>
<com.google.android.material.card.MaterialCardView 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:layout_width="250dp"
android:layout_margin="5dp"
app:cardCornerRadius="15dp"
android:layout_height="wrap_content"
app:cardElevation="7dp">
<!-- <LinearLayout-->
<!-- android:layout_width="wrap_content"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:orientation="horizontal"-->
<!-- android:id="@+id/lll"/>-->
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="4dp"
android:gravity="center_vertical">
<ImageView
android:layout_width="40dp"
android:layout_height="40dp"
android:id="@+id/senderImage"
android:src="@drawable/pic1"
tools:ignore="MissingClass,MissingConstraints" />
<TextView
android:id="@+id/messageText"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:text="Hello ahmad"
android:longClickable="true"
android:textSize="14sp"
tools:ignore="MissingConstraints" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>