Why should px be avoided for view sizes?

  1. It only works on tablets
  2. It slows the emulator
  3. It is not allowed in XML
  4. The same px value looks physically different on screens of different densities
Answer

D) The same px value looks physically different on screens of different densities

Pixel sizes do not adapt to density.

Computer Science MCQ · More Screen Components and Orientation MCQs · Practise