Fix url preview sizing
This commit is contained in:
parent
7ff8483592
commit
a9e7c45074
@ -21,4 +21,6 @@ interface MessageViewConfiguration {
|
|||||||
var isFirstFromSender: Boolean
|
var isFirstFromSender: Boolean
|
||||||
var isLastFromSender: Boolean
|
var isLastFromSender: Boolean
|
||||||
var showTimeAsOverlay: Boolean
|
var showTimeAsOverlay: Boolean
|
||||||
|
var showNoBubble: Boolean
|
||||||
|
fun render()
|
||||||
}
|
}
|
@ -9,6 +9,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:minWidth="@dimen/chat_bubble_fixed_size"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
<ImageView
|
<ImageView
|
||||||
@ -17,6 +18,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:importantForAccessibility="no"
|
android:importantForAccessibility="no"
|
||||||
|
android:layout_gravity="center"
|
||||||
android:maxHeight="200dp"
|
android:maxHeight="200dp"
|
||||||
android:scaleType="fitXY"
|
android:scaleType="fitXY"
|
||||||
tools:src="@tools:sample/backgrounds/scenic" />
|
tools:src="@tools:sample/backgrounds/scenic" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user