I am working on Android/Java. I want to set the description text of a Radio button in which the text is bit longer. It has two headings and one content field. I just want to make the headings bold and not the content. And I want the code in pure java
            Asked
            
        
        
            Active
            
        
            Viewed 738 times
        
    0
            
            
        - 
                    text of radio button should be bold..?? – Saritha G Dec 02 '15 at 12:39
 - 
                    maybe [this](http://stackoverflow.com/questions/13469731) will help – Bö macht Blau Dec 02 '15 at 12:43
 - 
                    yea. But not the whole text. Only heading part should be bold and content should be normal. – Ganesh Dec 02 '15 at 12:44
 
1 Answers
2
            try this line for radio button text
radioButtonObject.setText(Html.fromHtml("<b>Your heading</b>your contetn"));
        Ali Ahmad
        
- 1,351
 - 9
 - 11