开发者

Imagebutton scaling and 9Patch

I have a relative layout and image buttons that abut each other. It all fits nicely on a 1280x800 tablet screen. On a 1024x600 screen it does n开发者_开发知识库ot fit. So, I thought that 9Patch might be the solution, but it does not seem to work. What's wrong and how do I get the layout/buttons to scale up and down automatically?


What I find with 9Patches, is that they are great for scaling up, rather than down. Maybe use a smaller image and it'll scale up.

Also make sure your 9.png is valid, make sure those corners are clear if you did it in paint/photoshop/something.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜