1

<?xml version="1.0" encoding="utf-8"?> <resources>

<dimen name="min_text_height">48dp</dimen> </resources>

In the place of 48dp, can sp also be used as a viable size?

gthanop
  • 3,035
  • 2
  • 10
  • 27
Miles Morales
  • 248
  • 1
  • 5
  • 20

1 Answers1

3

Yes it can.

You might also find useful:

gthanop
  • 3,035
  • 2
  • 10
  • 27
  • Thank you very much! and I would assume that also goes for ``in``, ``mm``, ``pt``, and ``px``, right? – Miles Morales Apr 05 '21 at 16:33
  • No problem! Yes, according to the documentation (which is the link attached to my sentence *Yes it can* in the answer) seems that all those units are supported. – gthanop Apr 05 '21 at 17:58
  • 1
    Ah, okay! I should probably hit those as my go-to if I have questions. Thanks again! – Miles Morales Apr 05 '21 at 17:59