0

Looking at Android samples, I see different size definitions int .xml layout files, like:

android:columnWidth="90dp"
android:textSize="15pt"
android:layout_marginRight="10px"
...

Where can I find definition of these constants: pt, dp, px etc. ?

Alex F
  • 42,307
  • 41
  • 144
  • 212

1 Answers1

2

Take a look at http://developer.android.com/guide/topics/resources/more-resources.html#Dimension

wannik
  • 12,212
  • 11
  • 46
  • 58