Give replied-to text preview more height

Change-Id: Iceb552d5f73d7860c333e242adfe066a8cf7105e
This commit is contained in:
SpiritCroc 2022-12-08 10:56:47 +01:00
parent 09c20363bc
commit 035e1ae7f7
2 changed files with 4 additions and 2 deletions

View File

@ -43,6 +43,8 @@
<dimen name="file_icon_size">32dp</dimen>
<dimen name="reply_text_max_height">96sp</dimen>
<dimen name="reply_fade_out_height">32sp</dimen>
<dimen name="reply_thumbnail_height">120dp</dimen>
<dimen name="reply_thumbnail_max_width">840dp</dimen>

View File

@ -50,7 +50,7 @@
android:scrollbars="none"
app:expanded="false"
app:allowExpand="false"
app:maxHeight="64dp">
app:maxHeight="@dimen/reply_text_max_height">
<!-- Layout gravity left: fixes long display name pills moving text out:
https://github.com/SchildiChat/SchildiChat-android/issues/66
Interestingly, this not only fixes it for LTR texts for RTL locales,
@ -69,7 +69,7 @@
tools:ignore="RtlHardcoded" />
<View
android:layout_width="match_parent"
android:layout_height="32dp"
android:layout_height="@dimen/reply_fade_out_height"
android:background="@drawable/bg_expandable_edge_shadow"
android:layout_gravity="bottom" />
</com.ruesga.rview.widget.ExpandableViewLayout>