In React Native, how do I put a view on top of another view, with part of it lying outside the bounds of the view behind? -
i'm trying make layout per below react native.
how specify position of b relative a?
with ios interface builder , autoconstraints, can explicitly done , breeze. it's not obvious how 1 might achieve react native.
add following "floating" view
position: 'absolute'
you may need add top , left value positioning
see example: https://rnplay.org/apps/ojzcxq/edit
Comments
Post a Comment