Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is WebView's LayoutAlgorithm.SINGLE_COLUMN deprecated?

I am wondering why LayoutAlgorithm.SINGLE_COLUMN deprecated? It has use cases where NARROW_COLUMNS doesn't do the job:

I have a short HTML snippet that includes an image that is wider than the device screen. NARROW_COLUMNS doesn't resize the image to fit the screen, whereas SINGLE_COLUMN scales it down so the user cannot scroll horizontally (which is what I want).

Any ideas as to why it is deprecated?

like image 274
JesperB Avatar asked Apr 30 '13 07:04

JesperB


1 Answers

Because they changed the Webcore.h class witch LayoutAlgorithm.SINGLE_COLUMN is embed to to.

I sugest you to find html layout solution.

like image 78
Ilya Gazman Avatar answered Nov 15 '22 17:11

Ilya Gazman