In my tabhost, I define a setBackgroundDrawable with a png resource
that's 2px wide and 50px high. Android fills the background with this
resource.
The question I have:
Does Android replicate the resource to fill the width of the screen or
does it stretch it? The png is not 9-patch.
Thanks
Amiz
It doesn't replicate it, it simply stretches it at runtime. You can
simply load a BitmapDrawable from your resource and set the gravity so
that it doesn't stretch.
On Wed, Nov 11, 2009 at 5:11 AM, Alain aarn...@gmail.com wrote:
In my tabhost, I define a setBackgroundDrawable with a png resource
2 matches
Mail list logo