1
0
Fork 0
mirror of https://github.com/KokaKiwi/BarInsta synced 2026-03-05 12:01:35 +00:00

Include textview left padding while calculating last line width in text messages. For austinhuang0131/barinsta#1222

This commit is contained in:
Ammar Githam 2021-05-10 23:03:37 +09:00
parent 3b41cd78bd
commit 79fe697167
3 changed files with 30 additions and 4 deletions

View file

@ -139,7 +139,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
tools:layout_height="200dp"
tools:layout_width="100dp" />
tools:layout_width="100dp">
<!--<include layout="@layout/layout_dm_text" />-->
</FrameLayout>
<LinearLayout
android:id="@+id/message_info"
@ -176,6 +178,17 @@
</awais.instagrabber.customviews.ChatMessageLayout>
<!--<TextView-->
<!-- android:tag="debug"-->
<!-- android:textColor="@color/white"-->
<!-- android:layout_width="0dp"-->
<!-- android:visibility="visible"-->
<!-- android:layout_height="wrap_content"-->
<!-- android:background="@color/black"-->
<!-- app:layout_constraintTop_toTopOf="parent"-->
<!-- app:layout_constraintStart_toStartOf="parent"-->
<!-- app:layout_constraintEnd_toEndOf="parent"/>-->
<FrameLayout
android:id="@+id/reactions_wrapper"
android:layout_width="0dp"

View file

@ -10,4 +10,4 @@
android:paddingBottom="@dimen/dm_message_card_radius_small"
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
android:textColor="@color/white"
tools:text="Text message" />
tools:text="So here you can see the timestamp overlaps lol tt tt tt tt tt tt tt tt tt tt t" />