Hi i have a image in drawable folder and i need to get dimensions of that image.
i tried BitmapFactory,getHeight etc but it is retunning me null
plz help
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
pawan nimje wrote:
Hi i have a image in drawable folder and i need to get dimensions of that
image.
i tried BitmapFactory,getHeight etc but it is retunning me null
getResources().getDrawable().getIntrinsicHeight()
(or getMinimumHeight(), depending on what it is you are trying to do)
--
will try that ...
On Fri, May 7, 2010 at 5:28 PM, Mark Murphy mmur...@commonsware.com wrote:
pawan nimje wrote:
Hi i have a image in drawable folder and i need to get dimensions of that
image.
i tried BitmapFactory,getHeight etc but it is retunning me null
3 matches
Mail list logo