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.
精彩评论