2020-07-01 17:08:28 +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"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
android:paddingBottom="2dp"
|
|
|
|
tools:viewBindingIgnore="true">
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="#00888888" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:background="?android:selectableItemBackground"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingRight="4dp">
|
|
|
|
|
2020-09-04 17:38:36 +00:00
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
2020-07-01 17:08:28 +00:00
|
|
|
android:id="@+id/ivProfilePic"
|
|
|
|
android:layout_width="50dp"
|
|
|
|
android:layout_height="50dp"
|
|
|
|
android:gravity="center"
|
2020-09-04 17:38:36 +00:00
|
|
|
app:actualImageScaleType="centerCrop"
|
|
|
|
app:roundAsCircle="true" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-09-04 17:38:36 +00:00
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/tvUsername"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:layout_weight="1.0"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:paddingStart="8dp"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingEnd="4dp"
|
|
|
|
android:paddingRight="4dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textStyle="bold" />
|
2020-07-01 17:08:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
<awais.instagrabber.customviews.RamboTextView
|
|
|
|
android:id="@+id/tvComment"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="start"
|
|
|
|
android:autoLink="web|email"
|
|
|
|
android:clickable="true"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:focusable="true"
|
|
|
|
android:linksClickable="true"
|
|
|
|
android:paddingLeft="8dp"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:paddingBottom="8dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat" />
|
2020-09-04 17:38:36 +00:00
|
|
|
|
2020-07-26 22:23:24 +00:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:weightSum="3.5">
|
2020-09-04 17:38:36 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/tvLikes"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:paddingStart="4dp"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
|
|
|
android:textSize="12sp" />
|
2020-07-26 22:23:24 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
|
|
android:id="@+id/tvDate"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="start"
|
2020-09-04 17:38:36 +00:00
|
|
|
android:layout_weight="2.5"
|
2020-07-26 22:23:24 +00:00
|
|
|
android:ellipsize="marquee"
|
2020-09-04 17:38:36 +00:00
|
|
|
android:gravity="end"
|
2020-07-26 22:23:24 +00:00
|
|
|
android:paddingStart="4dp"
|
|
|
|
android:paddingLeft="4dp"
|
|
|
|
android:paddingTop="4dp"
|
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingRight="8dp"
|
|
|
|
android:singleLine="true"
|
2020-09-04 17:38:36 +00:00
|
|
|
android:textStyle="italic" />
|
2020-07-26 22:23:24 +00:00
|
|
|
</LinearLayout>
|
2020-07-01 17:08:28 +00:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|