Skip to content

Commit

Permalink
FIX: RadioButtons spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
balakz committed Jul 19, 2021
1 parent c699dc6 commit b5f1188
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ class RadioButtonsElement<T>(
val radioGroup = RadioGroup(context)
for ((i, availableValue) in availableValues.withIndex()) {
val radioButton = AppCompatRadioButton(context)
val params = LinearLayout.LayoutParams(
LinearLayout.LayoutParams.WRAP_CONTENT,
LinearLayout.LayoutParams.WRAP_CONTENT
val params = RadioGroup.LayoutParams(
RadioGroup.LayoutParams.WRAP_CONTENT,
RadioGroup.LayoutParams.WRAP_CONTENT
)
params.setMargins(
if (i == 0) {
Expand Down

0 comments on commit b5f1188

Please sign in to comment.