I 'm developing an app for smartphone and tablet. ...
# compose
a
I 'm developing an app for smartphone and tablet. With xml was simple.. but with compose? I can put value or string into xml different folder and get if device is a smartphone or tablet. is there other method?
c
For strings, the resource qualifier model should still work and that is a good way to manage it. For the UI code itself, start with this guide as things are still developing for how to best handle it in Compose: https://developer.android.com/jetpack/compose/layouts/adaptive
a
thanks. Tutorial is for foldable layout.. but it's a good start for me
c
The guidance applies the same to tablet since at this point the inner display of foldables are just squarish tablets that are bigger than phones 🤷‍♂️
a
ok, thanks