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

c# - Get the Class name in a class with atribute inside a attribute method -

java - How to compare two classes -

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