1

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?

Community
  • 1
  • 1
Shreyash Mahajan
  • 23,386
  • 35
  • 116
  • 188

1 Answers1

2

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" />
RasTheDestroyer
  • 1,756
  • 16
  • 22