-1

I want to design screen UI. that should support all the phones and tablets (also support orientations) with of different screen sizes and densities do i have to make different res-folder for all the devices with different orientations ? What is the best way to design my screen UI. that should support all the phones and tablets.

2 Answers2

0

You can use Constraintlayout we want to use only one layout its the better way other than you have to create different size UI.

https://developer.android.com/training/constraint-layout

AskNilesh
  • 63,753
  • 16
  • 113
  • 150
Chanaka Weerasinghe
  • 4,797
  • 2
  • 23
  • 35
0

There is no "silver bullet", i suppose) It's problem solving individually. If you have not so complicated UI, you can use Constraint Layout If you have extremely complicated UI with differences between screen orientation, or between screen sizes - then better to use resources. More information here

Scrobot
  • 1,795
  • 2
  • 17
  • 33