setSizeSpecs

fun setSizeSpecs(widthSpec: Int, heightSpec: Int): TestLithoView

Sets a new width spec and height spec which should be used to render.