radio-group Questions
2
Solved
When we are in a InputRadioGroup, how to have a radio button checked by default? This does not seem to work:
<InputRadio class="mr-1" Name="Selected" Value="@("Gene...
Apriorism asked 1/3, 2021 at 5:12
6
Solved
Is it possible to have multiple radio button groups in a single form? Usually selecting one button deselects the previous, I just need to have one of a group deselected.
<form>
<fieldset...
Muffin asked 16/2, 2015 at 14:35
6
Solved
From my understanding, to determine if a checkbox is "clicked" and find if it's checked or not, code such as the following can be used:
cb=(CheckBox)findViewById(R.id.chkBox1);
cb.setOnCheckedCha...
Knowle asked 21/7, 2011 at 18:38
8
Solved
I got this problem in my angular app. I have many options in a mat-radio-group but these are dynamically placed according to a json object. Something like this:
This is the json object
{
"list":...
Volotta asked 27/2, 2018 at 16:47
8
Solved
I have a radio group which I do not want to user to be able to select any of the buttons until a particular checkbox is selected within my app. If the checkbox is unticked then this disables the ra...
Mazur asked 21/2, 2012 at 11:40
6
Solved
I have some problem with radio group, I am new to Android development so I don't have much idea to how can handle it.This is form which has some input filed and radio group for choosing gender and ...
Stipend asked 3/8, 2014 at 6:12
9
Solved
I am using two radio groups with multiple radio buttons, I want to check which radio button is selected so that I can call specific functions accordingly. I am using getCheckedRadioButtonId method ...
Tenia asked 28/2, 2017 at 6:52
3
Solved
Is there any way of getting an array (or a collection) of the RadioButtons in an Android RadioGroup? I would like to add individual listeners to radio buttons but I don't see any obvious way of ite...
Auric asked 23/2, 2011 at 19:56
1
Solved
I'm beginner in Jetpack Compose, so I don't know how can I get value from Radio group that I created.
This is my Radio group composable function:
@Composable
fun KindRadioGroup(
mItems: List<St...
Manteau asked 5/8, 2022 at 10:48
3
I was wondering how to setError for a RadioGroup[gender] with RadioButton's [gender_b,gender_c] if it is null.
This is how i'm getting the RadioButton values though:
private boolean genradiocheck...
Decade asked 6/3, 2014 at 4:58
12
Solved
I create a RadioGroup from XML
<RadioGroup android:id="@+id/option"
android:layout_width="match_parent"
android:orientation="horizontal"
android:checkedButton="@+id/block_scenario_off"
a...
Furze asked 12/10, 2011 at 16:18
5
Solved
I've been struggling with an issue of programmatic checking of a RadioButton, which is situated in a RadioGroup. It seems that a single check() call raises three events - once for the first RadioBu...
Ahouh asked 21/4, 2012 at 22:58
19
Solved
Is there an easy way to get the selected index of a RadioGroup in Android or do I have to use OnCheckedChangeListener to listen for changes and have something that holds the last index selected?
e...
Coverage asked 22/6, 2011 at 12:58
11
Solved
I need to set validation that user must fill / select all details in a page. If any fields are empty wanna show Toast message to fill. Now I need set validation for RadioButton in the RadioGroup. I...
Baxy asked 28/7, 2014 at 10:8
3
Is there any way I can change the layout for a RadioButton and still have the RadioGroup recognise it?
what I need is that the layout will include a couple of EditText fields so that when the user...
Andrey asked 13/5, 2013 at 6:5
2
Solved
I am making a quiz application...I am accessing the questions through "id"...every time a question is answered(any radio button is checked),the id is incremented and doInBackground() function is ca...
Yeasty asked 8/4, 2012 at 4:40
21
I was wondering if is possible to group each single RadioButton in a unique RadioGroup
maintaining the same structure. My structure look like this:
LinearLayout_main
LinearLayout_1
RadioButton1...
Tomkin asked 5/5, 2012 at 10:34
3
Solved
I have three radiobuttons and I want to evenly space them across the screen. When I use android:layout_weight="1", the buttons are stretched out across the screen. So how would I have the same amou...
Myrmeco asked 15/3, 2013 at 22:58
13
Solved
I have a RadioGroup and I want to align buttons next to each other in two columns and five rows and I am unable to achieve it. Things I have tried:
RelativeLayout -> Outside RadioGroup -> Inside ...
Epithelium asked 3/5, 2012 at 5:23
4
Solved
Let's imagine that I have:
<RadioButton GroupName="Group1" IsChecked="{Binding Path=RadioButton1IsChecked}" />
<RadioButton GroupName="Group1" IsChecked="{Binding Path=RadioButton2IsCheck...
Indo asked 9/2, 2012 at 14:41
3
Solved
I'm trying to make a grid of radio buttons for my app, what I have learned is that this isn't possible using regular RadioGroup because it extends LinearLayout and if you try to arrange the RadioBu...
Gare asked 12/6, 2011 at 4:27
3
Solved
i try to set 4 radio button in one Radio group in 2 lines, but problem is that when i take linear layout with horizontal orientation then radio group functionality not work . All Radio buttons se...
Blanchette asked 19/6, 2015 at 20:54
6
I'm writing an Activity in android where I have two radio buttons under a RadioGroup. One of them is checked by default. But I can't trigger the event in onCreate method so that I can do something ...
Glomerate asked 30/8, 2013 at 15:9
9
Solved
I have two RadioButtons inside a RadioGroup. I want to set OnClickListener on those RadioButtons. Depending on which RadioButton is clicked, I want to change the text of an EditText. How can I achi...
Precess asked 30/11, 2011 at 9:37
2
I have a React (typescript) app where I want to show a radio group but cut into two columns like so:
To do so, I use two RadioGroup from @material-ui/core that I wish to completely control so the...
Flowering asked 20/11, 2019 at 11:0
1 Next >
© 2022 - 2024 — McMap. All rights reserved.