Disable text selection in SubtitleWebView
PiperOrigin-RevId: 298605366
This commit is contained in:
parent
58f42e9f8b
commit
63256a48d4
@ -156,7 +156,7 @@ import java.util.List;
|
||||
cueText.append(SpannedToHtmlConverter.convert(cues.get(i).text));
|
||||
}
|
||||
webView.loadData(
|
||||
"<html><body><p style=\"color:red;font-size:20px;height:150px\">"
|
||||
"<html><body><p style=\"color:red;font-size:20px;height:150px;-webkit-user-select:none;\">"
|
||||
+ cueText
|
||||
+ "</p></body></html>",
|
||||
"text/html",
|
||||
|
Loading…
x
Reference in New Issue
Block a user