나는 웹보기에서 데이터베이스에서 일부 HTML 데이터를 가져 오기 위해 노력하고 내가 자산 폴더에서 일부 사용자 지정 글꼴을 구현하기 위해 노력하고 있지만 웹보기는webview로 글꼴을 구현하려면 어떻게해야합니까? ,
wv = (WebView) findViewById(R.id.instructions);
String pish = "<html><head><style type=\"text/css\">@font-face {font-family: MyFont;src: url(\"file:///android_asset/font/Noto.ttf\")}body {font-family: MyFont;font-size: medium;text-align: justify;}</style></head><body>";
String pas = "</body></html>";
wv.loadData(rec.instruction, "text/html", "UTF-8");
가 어떻게 – user8784273
체크 아웃 데이터베이스 내 데이터를 호출 loadDataWithBaseURL 내부 "rec.instruction"를 호출 할 수 있습니다 JSOUP 라이브러리 html 데이터에서 데이터를 가져 오는 방법 – karthik