android - Achieve react native app layout for landscape and portrait -


i creating react native app , quite new this. in app, creating image slider, want image slider adjust it's view on both portrait , landscape automatically.

this orientation plugin checks either device in landscape or in portrait view.

shall need write layout/view landscape , portrait independently? or there way can follow requirement.

react native uses flexbox layout rendering. using flexbox ui same both landscape , portrait mode.


Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

javascript - Why Selenium can't find an element that is graphically visible -

angular - Angular2 Router: Cannot find primary outlet to load 'HomeComponent' -