Added logging

This commit is contained in:
M66B
2019-04-23 08:48:09 +02:00
parent 58ea822110
commit f26401a959

View File

@@ -1395,9 +1395,10 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
WebView webView = new WebView(context) {
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
setMeasuredDimension(
getMeasuredWidth(),
Math.max(tvBody.getMinHeight(), getMeasuredHeight()));
int w = getMeasuredWidth();
int h = getMeasuredHeight();
Log.i("WebView " + w + "x" + h);
setMeasuredDimension(w, Math.max(tvBody.getMinHeight(), h));
}
};