I'm trying to put a letter inside my custom Radio Button. They already have 'yes' and 'no' and 'skip' below them and I want to also add a 'v', an 'x' and a '-' to them. I want those letters to be inside the custom Radio Button.
I've got this Radio Button:
<RadioButton
android:id="@+id/radioButtonNeutral"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:button="@android:color/transparent"
android:drawableTop="@drawable/ic_choice_neutral"
android:layout_centerHorizontal="true"
android:gravity="center"
android:onClick="onRadioButtonClicked"
android:visibility="visible"/>
Which uses this drawable:
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<!--big light circle-->
<item
android:bottom="1dp"
android:left="1dp"
android:right="1dp"
android:top="1dp">
<shape android:shape="oval">
<solid android:color="#EEEEEE" />
<size
android:width="33dp"
android:height="33dp" />
<stroke
android:width="1dp"
android:color="#404040" />
</shape>
</item>
<!--small dark circle-->
<item
android:bottom="7dp"
android:left="7dp"
android:right="7dp"
android:top="7dp">
<shape android:shape="oval">
<solid android:color="#AEAEAE" />
<stroke
android:width="1dp"
android:color="#464646" />
</shape>
</item>
</layer-list>
I can't use android:text because i've already used it to put 'yes', 'no' and 'skip' below the button. (using .setText() in the activity) The RadioButton is inside a RelativeLayout, so I could put a TextView over(on top of) the RadioButton, but I think that is more of a workaround than a solution. I tried putting a TextView inside the RadioButton tag, but that wasn't allowed.
How do I show text (a letter) inside my custom radio button?