1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-09 00:07:30 +00:00
BarInsta/app/src/main/res/layout/layout_dm_link.xml

45 lines
1.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
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" />
2020-09-11 16:44:34 +00:00
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/ivLinkPreview"
android:layout_width="match_parent"
android:layout_height="@dimen/dm_link_image_size"
2020-09-11 16:44:34 +00:00
android:scaleType="centerCrop" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tvLinkTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start|fill_horizontal"
android:ellipsize="end"
android:maxLines="1"
android:paddingStart="4dp"
android:paddingLeft="4dp"
android:paddingEnd="4dp"
android:paddingRight="4dp"
android:singleLine="true"
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
android:textColor="?android:textColorPrimary" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/tvLinkSummary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="start|fill_horizontal"
android:ellipsize="end"
2020-09-11 16:44:34 +00:00
android:maxLines="2"
android:padding="4dp" />
</LinearLayout>