Fix url preview sizing
This commit is contained in:
parent
7ff8483592
commit
a9e7c45074
|
@ -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 New Issue