react-native-toolkit / react-native-responsive-dimensions

Resposive fontSize, height and width for react-native components, that automatically adjusts itself based on screen-size of the device.

Home Page:https://www.npmjs.com/package/react-native-responsive-dimensions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Problem with landscape and portrait

CmDogsInc opened this issue · comments

When the layout changed, the view is fixed.
There is a solution for make dynamic View?

Thanks

Hi @Edrasviluppo, sorry but currently there is no way to make the view's width change automatically. However you can change responsiveWidth to responsiveHeight when the view is in landscapemode to change the width to fill your screen.

check out this page to detect orientation changes - https://corbt.com/posts/2016/03/16/detecting-orientation-in-react-native.html

Closing this issue due to inactivity...