Also use boolean getPadding(Rect padding) on the NinePatchDrawable to get the padding for the content (your content + 9patch padding = total group dize).
Totally correct awnser, thanks :) Too bad Android documentation suck and do not explain that properly. – speeder Jun 1 '11 at 19:18.
You may need to draw the object directly on the ViewGroup by overriding its onDraw method: public void onDraw(Canvas canvas) { NinePatchDrawable bg = (NinePatchDrawable) resources. GetDrawable(id); if (bg! = null) { bg.
SetBounds(0, 0, getWidth(), getHeight()); bg. Draw(canvas); } }.
Doing thta do not fix the problem at all. – speeder Jun 1 '11 at 17:14 Are you saying you tried it and it didn't work? It should, assuming you provide the correct id in the call to getDrawable() – rob Jun 1 '11 at 18:07.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.