|
|
@ -1395,9 +1395,9 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
|
|
|
WebView webView = new WebView(context) {
|
|
|
|
WebView webView = new WebView(context) {
|
|
|
|
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
|
|
|
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
|
|
|
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
|
|
|
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
|
|
|
int height = getMeasuredHeight();
|
|
|
|
setMeasuredDimension(
|
|
|
|
if (height < tvBody.getMinHeight())
|
|
|
|
getMeasuredWidth(),
|
|
|
|
setMeasuredDimension(getMeasuredWidth(), tvBody.getMinHeight());
|
|
|
|
Math.max(tvBody.getMinHeight(), getMeasuredHeight()));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|