How can I get pixel for rescale bitmap?
<p>I want to rescale bitmap size that suitable to size of ImageView which is place to hold this bitmap but I don't know what pixel that I should fill in method Bitmap.createScaledBitmap.</p>

<p>For example my ImageView is set width is fill parent and height is 250dp.</p>

<p>How can I calculate pixels from this size ?</p>

<p>Thanks.</p>
