在Android 2.0的更改复选框大小 [英] Changing the checkbox size in Android 2.0
问题描述
好了,所以我知道这已被要求和似乎有所有的答案指向这个很老的教程。
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
我该教程问题是,它是一岁多,并引用了使用这样了不可在Android SDK文件。
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?
推荐答案
这就是正确的只是简单的设置背景与较大的图像应该做的伎俩您的新选择。你不应该需要做一个样式为您复选框就像在本教程中,但它可以一定的时间节省您从长远来看。
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.
这篇关于在Android 2.0的更改复选框大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!