Terminology

Android Terminology Overview

Android Unit of Measure Terminology Have you ever wondered why there are so many different units of measurement in the Android architecture? There is dp, dip, sp, px, pt, in and mm. Below I will run through what each one is and what their purpose is within the Android framework. PX <View android:layout_width:"50px" android:layout_height:"wrap_content" /> In Android, px is short for pixels. It corresponds to actual pixels on the screen. In this example the view would be exactly 50 pixels wide.

Continue reading