Android: setVisibility(View.GONE) reducing the font size and image size on the webview -



Android: setVisibility(View.GONE) reducing the font size and image size on the webview -

i have android application hits webview , displays content. per requirement should hide webview , later on should show user.

so, phone call setvisibility(view.gone); , hide visibility of webview. and, phone call setvisibility(view.visible); show webview user.

1)when doing in sequence, size of content(font , images) on webview getting reduced.

2)if don't phone call setvisibility(view.gone); , straight show user size of content(font , images) on webview bigger.

i want accomplish 2 scenario hiding webview. means want hide webview initially, , show user bigger sized content on webview.

how accomplish this?

i have got working finally!!!

instead of using setvisibility(view.gone); create webview invisible, using setvisibility(view.invisible);.

this way able accomplish proper size of items on webview. dont know exact reason mismatch, working expected change.

android android-webview

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -