问题
Ok so I know this has been asked before and there seems to be that all of the answers point to this very old tutorial.
http://www.anddev.org/viewtopic.php?p=17050
My problem with that tutorial is it is over a year old and references the use of files that are not available anymore in the android SDK.
It is also very hard to understand the crux of what I think should be such a simple thing.
Can someone on here please clarify for me. It would seem that you just set a different drawable as the background and it takes on the size of the drawable. Is that correct?
回答1:
Thats right just simply setting the background to your new selector with larger images should do the trick. You shouldn't need to make a style for your checkboxes like in this tutorial but it could save you some time in the long run.
来源:https://stackoverflow.com/questions/5207714/changing-the-checkbox-size-in-android-2-0