I am using Webview to load the response (contains HTML data) but it takes displays the data with some unwanted whitespaces for multiple line as well as single line.
I tried by using
webView.loadDataWithBaseURL(null, comment_resp, "text/html", "utf-8", null);
webView.requestLayout();
webView.clearView();
while using above code some contents are not displaying. also tried with
webView.setScrollBarSize(View.SCROLLBARS_INSIDE_OVERLAY);