This is a migrated thread and some comments may be shown as answers.

DataFormRadioGroupEditor change RadioButton theme

2 Answers 68 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sal
Top achievements
Rank 1
Sal asked on 26 May 2016, 03:21 PM
I'm using the RadDataForm to present a few settings and one of the settings is a RadioGroup. I can setup the editor easily using DataFormRadioGroupEditor, and I can even update the text colors used by using setEditorCustomizations but the only thing I can't  seem to find is how to update the RadioButtons so they use the defined style in my Theme and not the built in style (which looks to be a pre-Lollipop style of button anyways). Here's a screen shot of how the DataForm shows up on my device and my Theme Editor showing how the RadioButtons should looks based on my Theme. I've been trying to dig around and find a way to update the Radio Buttons but so far I can't seem to figure it out. 

2 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 27 May 2016, 12:28 PM
Hello Sal,

Thank you for your question.

I can't reproduce the described issue. I tried to the change the accent color with the theme editor and it was applied successfully to the radio buttons inside the DataForm as you can see from the attached screenshot.

One reason for such difference that you observe could be that the Android version selected in your Theme editor is different from the one of your device/emulator.

If the issue persists, please give us more information about the observed occurrence of the issue (including device model, api version, etc. anything that can help) and/or send us a sample project that we can use to reproduce it.

Thank you for your cooperation.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Sal
Top achievements
Rank 1
answered on 27 May 2016, 04:01 PM
Thanks Todor for the reply. I actually found what was causing the issue. I was originally just adding the RadDataForm to the xml layout for my DialogFragment and that's why it wasn't using the correct theme. Once I removed it from the layout and created the form in OnCreateView the DataForm properties are all using the right theme. 
Tags
DataForm
Asked by
Sal
Top achievements
Rank 1
Answers by
Todor
Telerik team
Sal
Top achievements
Rank 1
Share this question
or