Answer the question
In order to leave comments, you need to log in
Change RadioButton text to text read from file?
Good afternoon. I am new to android, please help. I thought about writing a test application. Faced such a task, how to change the text of RadioButtons to what I have in TXT in the assets folder? I have already learned how to parse the file, I can only display data through TextView, but it’s a problem with radiobuttons and, as luck would have it, I can’t find anything in Google.
Answer the question
In order to leave comments, you need to log in
Understood. I wrote the parsed name of the option into a String variable and displayed it like this: radioButton.setText();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question