2022-05-08 16:03:01 +05:30
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-07-08 22:20:11 +05:30
|
|
|
android:background="?android:attr/selectableItemBackground">
|
2022-05-08 16:03:01 +05:30
|
|
|
|
2022-06-05 19:12:51 +05:30
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-04 21:52:21 +05:30
|
|
|
android:layout_marginTop="10dp"
|
2022-07-04 21:56:14 +05:30
|
|
|
android:orientation="vertical"
|
2022-07-04 21:52:21 +05:30
|
|
|
android:paddingStart="20dp"
|
|
|
|
android:paddingEnd="20dp"
|
2022-07-04 21:42:24 +05:30
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2022-05-08 16:03:01 +05:30
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-04 21:52:21 +05:30
|
|
|
android:layout_marginBottom="16dp"
|
2022-06-27 22:47:52 +05:30
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent">
|
2022-06-14 00:49:19 +05:30
|
|
|
|
|
|
|
<de.hdodenhof.circleimageview.CircleImageView
|
|
|
|
android:id="@+id/commentor_image"
|
|
|
|
android:layout_width="30dp"
|
|
|
|
android:layout_height="30dp"
|
|
|
|
android:layout_marginEnd="16dp"
|
|
|
|
app:srcCompat="@mipmap/ic_launcher" />
|
2022-05-08 16:03:01 +05:30
|
|
|
|
2022-05-08 17:44:06 +05:30
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
2022-06-14 00:49:19 +05:30
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
2022-05-08 17:44:06 +05:30
|
|
|
|
2022-06-14 00:49:19 +05:30
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
2022-05-08 17:44:06 +05:30
|
|
|
|
2022-06-14 00:49:19 +05:30
|
|
|
<TextView
|
|
|
|
android:id="@+id/comment_infos"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:text="Author and Time"
|
|
|
|
android:textSize="15sp"
|
|
|
|
android:textStyle="bold" />
|
2022-05-08 17:44:06 +05:30
|
|
|
|
2022-06-14 00:49:19 +05:30
|
|
|
<ImageView
|
|
|
|
android:id="@+id/verified_imageView"
|
|
|
|
android:layout_width="16dp"
|
|
|
|
android:layout_height="16dp"
|
|
|
|
android:layout_marginLeft="4dp"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:srcCompat="@drawable/ic_verified" />
|
2022-05-08 16:03:01 +05:30
|
|
|
|
2022-06-14 00:49:19 +05:30
|
|
|
<ImageView
|
|
|
|
android:id="@+id/pinned_imageView"
|
|
|
|
android:layout_width="16dp"
|
|
|
|
android:layout_height="16dp"
|
|
|
|
android:layout_marginLeft="4dp"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:visibility="gone"
|
|
|
|
app:srcCompat="@drawable/ic_pinned" />
|
2022-06-14 00:49:19 +05:30
|
|
|
</LinearLayout>
|
2022-05-08 16:49:50 +05:30
|
|
|
|
|
|
|
<TextView
|
2022-06-14 00:49:19 +05:30
|
|
|
android:id="@+id/comment_text"
|
|
|
|
android:layout_width="match_parent"
|
2022-05-08 16:49:50 +05:30
|
|
|
android:layout_height="wrap_content"
|
2022-06-14 00:49:19 +05:30
|
|
|
android:layout_marginBottom="4dp"
|
|
|
|
android:autoLink="web"
|
|
|
|
android:text="Comment Text" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/likes_imageView"
|
|
|
|
android:layout_width="16dp"
|
|
|
|
android:layout_height="16dp"
|
|
|
|
android:layout_marginTop="2dp"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:layout_marginRight="6dp"
|
2022-06-14 00:49:19 +05:30
|
|
|
app:srcCompat="@drawable/ic_thumb_up" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/likes_textView"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:text="LikeCount" />
|
2022-05-08 16:49:50 +05:30
|
|
|
|
2022-06-14 00:49:19 +05:30
|
|
|
<ImageView
|
|
|
|
android:id="@+id/hearted_imageView"
|
|
|
|
android:layout_width="14dp"
|
|
|
|
android:layout_height="14dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
|
|
|
android:layout_marginTop="3dp"
|
2022-06-27 22:47:52 +05:30
|
|
|
android:visibility="gone"
|
|
|
|
app:srcCompat="@drawable/ic_hearted" />
|
2022-06-14 00:49:19 +05:30
|
|
|
</LinearLayout>
|
2022-05-08 16:49:50 +05:30
|
|
|
</LinearLayout>
|
2022-05-08 16:03:01 +05:30
|
|
|
</LinearLayout>
|
|
|
|
|
2022-06-14 00:49:19 +05:30
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/replies_recView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-04 21:52:21 +05:30
|
|
|
android:background="@null"
|
2022-06-14 00:49:19 +05:30
|
|
|
android:nestedScrollingEnabled="false" />
|
2022-05-08 16:03:01 +05:30
|
|
|
|
2022-06-05 19:12:51 +05:30
|
|
|
</LinearLayout>
|
2022-05-31 11:18:17 +05:30
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|