<@U2X0FMBS9> I noticed that you latest commit in a...
# anko
s
@vyacheslav.gerasimov I noticed that you latest commit in anko-sdk25 Layout.kt (1b5653cdb9648ebc316aeeb13179ebddfd91d4fa) removed the _WebView. Was that intentional, and has that definition been moved somewhere else?
v
It isn’t a layout so it was moved to views
s
Thanks. I was having trouble locating it. I was expecting it still to have the lparam definitions.
Webview is a subclass of AbsoluteLayout. I know the name includes view, but it is actually a layout and should have support for layoutParams.
at least that is how I read the API specs.
y
@spragg
WebView
is not designed to behave as a view container. You may consider this as an abstraction leak.
s
Yep. I completely agree, but I still need to set width and height. I guess it just means that i have to explicitly create layoutParams when using a webview to set width and height.
v
Could you please post your layout code, just for info? And sorry for breaking your code
y
For what do you want to set a width/height? WebView should be inside some other layout, so you need to create the LayoutParams compatible with parent ViewGroup