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"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<awais.instagrabber.customviews.RamboTextView
|
|
|
|
android:id="@+id/tvMessage"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="start|fill_horizontal"
|
|
|
|
android:padding="8dp"
|
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
|
|
|
android:textColor="?android:textColorPrimary" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content">
|
|
|
|
|
2020-09-11 16:44:34 +00:00
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
2020-08-20 13:05:23 +00:00
|
|
|
android:id="@+id/ivMediaPreview"
|
2020-09-26 00:15:46 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-09-26 18:42:35 +00:00
|
|
|
android:layout_gravity="center"
|
2020-09-11 16:44:34 +00:00
|
|
|
android:adjustViewBounds="true"
|
2020-09-26 16:36:45 +00:00
|
|
|
android:maxHeight="@dimen/dm_media_img_max_height"
|
|
|
|
app:actualImageScaleType="fitCenter" />
|
2020-08-20 13:05:23 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/typeIcon"
|
|
|
|
android:layout_width="24dp"
|
|
|
|
android:layout_height="24dp"
|
|
|
|
android:layout_gravity="end|top"
|
|
|
|
android:layout_margin="8dp"
|
2020-09-13 11:28:40 +00:00
|
|
|
app:srcCompat="@drawable/ic_video_24" />
|
2020-08-20 13:05:23 +00:00
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|