안드로이드 버그 질문 드립니다.

lalupo20의 이미지

https://www.youtube.com/watch?v=skDPcN_R8Tk

여기저기 올려보는데 답이 없는거 같네요.

다이얼로그를 호출하면 위 영상처럼 마구 흔들립니다.

package com.example.keehl.laromacorea;
 
import android.app.Dialog;
import android.content.Context;
import android.os.Bundle;
import android.view.Gravity;
import android.view.WindowManager;
import android.webkit.WebView;
public class MatchDialog extends Dialog {
    private WebView webView;
    private String htmlTemp;
    private Context context;
 
    public MatchDialog(Context context) {
        super(context);
        this.context = context;
    }
    public MatchDialog(Context context, String htmlTemp) {
        super(context);
        this.htmlTemp = htmlTemp;
        this.context = context;
    }
 
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        webView = new WebView(context);
 
        setContentView(webView);
 
        WindowManager.LayoutParams lp = getWindow().getAttributes();
      //  getWindow().clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND);
        lp.alpha = 0.5f;
        lp.gravity = Gravity.CENTER;
 
        getWindow().setAttributes(lp);
 
 
        imgcng(htmlTemp, webView);
    }
    public  String creHtmlBody(String imagUrl){
        StringBuffer sb = new StringBuffer("<HTML>");
        sb.append("<HEAD>");
        sb.append("</HEAD>");
        sb.append("<BODY style='margin:0; padding:0; text-align:center;'>");    //중앙정렬
        sb.append(imagUrl);    //지 비율에 맞게 나옴
        sb.append("</BODY>");
        sb.append("</HTML>");
        return sb.toString();
    }
 
    public void imgcng(String url1, WebView webView){
 
 
        webView.setVerticalScrollBarEnabled(false);
        webView.setVerticalScrollbarOverlay(false);
        webView.setHorizontalScrollBarEnabled(false);
        webView.setHorizontalScrollbarOverlay(false);
        webView.loadDataWithBaseURL(null,creHtmlBody(url1), "text/html", "utf-8", null);
 
    }
}

예전에도 올렸었는데 한번만 더 질문드립니다.