android - change the webview fontsize with seek bar -
textview
font changes seekbar's onprogresschanged() event.. i'm unable same webview
.
but after refresh/reload font size changes.
can't done textview
?
you have access webview settings object , change textvalue there.
for devices before api 13 / ics :
you can use enums set text size value, take here textsize code this
webview.getsettings().settextsize(textsize.large);
for ics , later can set text size by:
webview.settextzoom(200); // % of text size .
for more webview settings take here : websettings
Comments
Post a Comment