- Jun 6, 2020
- 11,517
- 4,383
Hi, I have a problem.
I need to show a list of radiobuttons. But if I just add them into a ScrollView only one radiobutton can be selected.
I need it like this
Do you have a symptom 1
Yes No
Do you have a symptom 2
Yes No
Do you have a symptom 3
Yes No
So I decided to add a pare of radio buttons into a panel and then add a panel with radio buttons inside into a scroll view.
The problem is that panel looks Ok with 2 radio buttons inside but 2 others are empty (at least they are look like this)
If I try to loop trough all views inside a scroll view I can see all my radio buttons but why they are not shown?
Here is my code and also I attached my project.
Radio buttons list:
I need to show a list of radiobuttons. But if I just add them into a ScrollView only one radiobutton can be selected.
I need it like this
Do you have a symptom 1
Yes No
Do you have a symptom 2
Yes No
Do you have a symptom 3
Yes No
So I decided to add a pare of radio buttons into a panel and then add a panel with radio buttons inside into a scroll view.
The problem is that panel looks Ok with 2 radio buttons inside but 2 others are empty (at least they are look like this)
If I try to loop trough all views inside a scroll view I can see all my radio buttons but why they are not shown?
Here is my code and also I attached my project.
Radio buttons list:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید