How to decrease the size of image displayed on radio button in android without using new image

后端 未结 5 1658
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-15 12:48

I have designed an activity in which i have two radio button but those size are more than enough i want to decrease it i am using text size that decreases only text if lay

5条回答
  •  無奈伤痛
    2021-01-15 13:08

    visit this page http://android-holo-colors.com/ , select Radio and download the output resources (zip file contains a "res" folder), That contains all images for all posible radio button states, replace images with your custom but keeping the size of the download files. If you think it has too much states simply erase from selector in xml drawable theme.

提交回复
热议问题