Skip to content Skip to sidebar Skip to footer

How To Scale The Circle In Radiobuttons In Android

I am using some customized RadioButtons in Android and I want them so scale with the screen size. This is why I am using scalable size units for text and UI elements from this libr

Solution 1:

the radio button is a built-in control component and as such its size is fixed. But if you need to make it smaller you could use:

<RadioButtonandroid:scaleX="0.7"android:scaleY="0.7" />

It's a workaround and shouldn't be used to make it bigger because button will get pixelated

Post a Comment for "How To Scale The Circle In Radiobuttons In Android"