react native - how to support phones and tables using reactnative in android? -


i new react native. native android developer. in native android, different images/layouts can used different screen size/densities phones , tablets. layouts/images can changed when orientation of phone changes. possible achieve in reacting native? , if yes how?

thanks in advance,

krishna

[this opinion (and experience) based answer, may bit out of scope of stack overflow]

yes is. it's possible add different set of assets different resolutions , pixel ratios. (see: /[app-name]/android/app/src/main/res/)

it's possible dimensions , pixelratio layout specific sets. if need (and need) relative positioning, flexible layouts etc, these + flexbox helps you.

so suggest start doing simple , playing these. in addition, googling topic, there blog posts, 3rd party components , other resources available.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -