In my main layout file, I have stated the following:
android:padding="10dp"
In my code, I said:
int padding = getPaddingLeft();
If I debug the code in Eclipse, padding would equal a value of 20 in integer.
Does that mean that to express dp in integer format, we need to multiple it by 2?