sobre android GetBounds Drawable retornar Rect (0, 0 - 0, 0)

Eu quero pegar o limite de drawable, mas então eu uso o método getBounds ou copyBounds. todos eles retornam Rect (0, 0 - 0, 0). o código como este

<code>    Drawable marker = getResources().getDrawable(
            R.drawable.tbar_single_pressed);
    Rect copyRect = marker.copyBounds();
    Rect getRect= marker.getBounds();
</code>

então o resultado copyRect é Rect (0, 0 - 0, 0) getRect também é Rect (0, 0 - 0, 0)

porque? o marcador não é nulo e eu tenho o res tbar_single_pressed ....

THX

questionAnswers(1)

yourAnswerToTheQuestion