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
  • 40,884
  • 40
  • 141
  • 206

1 Answers1

2

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

wannik
  • 11,790
  • 11
  • 43
  • 57