问题描述:

I have implemented the CustomRadioButton from this Link.

Here, theme is implemented for to set the CustomRadioButton and then that theme is added to the activity.

I have done most of the steps and it works nice. But I want to add text on that radioButton then it's not possible?

Why am I not able to set the text for the RadioButton?

网友答案:

It could be your width or color. Does your radiobutton look like this?

<RadioButton
    android:id="@+id/type_pounds"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="@string/pounds"
    android:textColor="#000000" />
相关阅读:
Top