mirror of
https://github.com/element-hq/element-android
synced 2024-11-24 18:35:40 +03:00
Fix url preview sizing
This commit is contained in:
parent
7ff8483592
commit
a9e7c45074
2 changed files with 4 additions and 0 deletions
|
@ -21,4 +21,6 @@ interface MessageViewConfiguration {
|
|||
var isFirstFromSender: Boolean
|
||||
var isLastFromSender: Boolean
|
||||
var showTimeAsOverlay: Boolean
|
||||
var showNoBubble: Boolean
|
||||
fun render()
|
||||
}
|
|
@ -9,6 +9,7 @@
|
|||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="@dimen/chat_bubble_fixed_size"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
|
@ -17,6 +18,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:adjustViewBounds="true"
|
||||
android:importantForAccessibility="no"
|
||||
android:layout_gravity="center"
|
||||
android:maxHeight="200dp"
|
||||
android:scaleType="fitXY"
|
||||
tools:src="@tools:sample/backgrounds/scenic" />
|
||||
|
|
Loading…
Reference in a new issue