mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-08 07:57:28 +00:00
343b2cf9d7
Remove left over images DM update (WIP) Update DM module. (WIP) Update DM module. (WIP)
63 lines
2.7 KiB
XML
63 lines
2.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:id="@+id/link_container"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical">
|
|
|
|
<awais.instagrabber.customviews.RamboTextViewV2
|
|
android:id="@+id/text"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:paddingStart="@dimen/dm_message_card_radius"
|
|
android:paddingTop="@dimen/dm_message_card_radius_small"
|
|
android:paddingEnd="@dimen/dm_message_card_radius"
|
|
android:paddingBottom="@dimen/dm_message_card_radius_small"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
|
tools:text="Some message" />
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/preview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/dm_link_image_size"
|
|
android:scaleType="centerCrop"
|
|
tools:background="@mipmap/ic_launcher"
|
|
tools:layout_width="300dp" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/title"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="3"
|
|
android:paddingStart="@dimen/dm_message_card_radius"
|
|
android:paddingTop="@dimen/dm_message_card_radius_small"
|
|
android:paddingEnd="@dimen/dm_message_card_radius"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body2"
|
|
tools:text="Title of the website" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/summary"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="3"
|
|
android:paddingStart="@dimen/dm_message_card_radius"
|
|
android:paddingTop="@dimen/dm_message_card_radius_small"
|
|
android:paddingEnd="@dimen/dm_message_card_radius"
|
|
tools:text="Some summary of the website" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/url"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:paddingStart="@dimen/dm_message_card_radius"
|
|
android:paddingTop="@dimen/dm_message_card_radius_small"
|
|
android:paddingEnd="@dimen/dm_message_card_radius"
|
|
android:paddingBottom="@dimen/dm_message_card_radius_small"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Caption"
|
|
tools:text="test.com" />
|
|
</LinearLayout> |