2020-08-20 13:05:23 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-11-04 14:58:06 +00:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2020-08-20 13:05:23 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<awais.instagrabber.customviews.CircularImageView
|
|
|
|
android:id="@+id/ivProfilePic"
|
2020-10-17 10:07:03 +00:00
|
|
|
android:layout_width="@dimen/profile_pic_size_regular"
|
|
|
|
android:layout_height="@dimen/profile_pic_size_regular"
|
2020-08-20 13:05:23 +00:00
|
|
|
android:layout_gravity="top|start"
|
|
|
|
android:layout_marginStart="4dp"
|
2020-11-04 14:58:06 +00:00
|
|
|
android:layout_marginEnd="4dp"
|
|
|
|
tools:background="@mipmap/ic_launcher" />
|
2020-08-20 13:05:23 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/content_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_margin="4dp"
|
|
|
|
android:gravity="end"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/tvUsername"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:singleLine="true"
|
2020-11-04 14:58:06 +00:00
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
tools:text="@string/app_name" />
|
2020-08-20 13:05:23 +00:00
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/messageCard"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:foreground="?android:selectableItemBackground"
|
|
|
|
app:cardCornerRadius="@dimen/dm_message_card_radius"
|
|
|
|
app:cardElevation="2dp"
|
2020-11-04 14:58:06 +00:00
|
|
|
app:cardUseCompatPadding="true"
|
|
|
|
tools:background="@mipmap/ic_launcher" />
|
2020-08-20 13:05:23 +00:00
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView
|
|
|
|
android:id="@+id/liked_container"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:layout_marginTop="-25dp"
|
|
|
|
android:layout_marginEnd="-10dp"
|
|
|
|
app:cardCornerRadius="25dp"
|
|
|
|
app:cardElevation="4dp"
|
|
|
|
app:cardUseCompatPadding="true">
|
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/liked"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:padding="4dp"
|
|
|
|
app:srcCompat="@drawable/ic_like"
|
|
|
|
app:tint="@color/btn_red_background" />
|
|
|
|
</androidx.cardview.widget.CardView>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|