-1

I have a problem with overlapping views on other test phones.

The way I figured out is to get dpScale and set the size again when the view is drawn.

But I guess that this way has the performance problem.

What is a general development method that changes the size of the view according to the screen resolution?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
Selena Lee
  • 33
  • 7

1 Answers1

1
you need to define margin/padding in values folder like 360dp, 720dp 
For image use vector asset.

For reference follow : 

https://developer.android.com/guide/practices/screens_support.html

Chetan Ansel
  • 398
  • 2
  • 20