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
Post a Comment