I am sorry that I offended you. I had no intention of doing that or turning this into a flame war. I honestly thought that you didn't know what a radio button was from your reply and I assume even now that many others don't either. I had no way of knowing what your level and areas of expertise are, (maybe games or something in which radio buttons are rarely used?). Regardless, I should have left out the "REALLY?", which was inflammatory. I sincerely apologize for offending you and getting you upset.
FWIW, I used the light metaphor because that is exactly what a radio button group is supposed to portray: a set of buttons on a old-style car radio that have lights behind them that illuminate when you press them (as well as change the station). I was deliberately trying to be terse in my post but I thought that I was being specific about what the problem was. I was terse because I thought that would help get an answer but I now realize that it worked against me. I believe that I was specific in every sense except in using the term "lighting up", which required a knowledge of the radio button metaphor. I forget that not everyone is as old as I am and might not understand that metaphor. I can now see that it would have helped if I had taken more pains to express the problem better in that respect. But I did mention in my original post the one piece of information that I assumed that anyone who has experience with creating radio button ListViews for Android would recognize, the row template ID that turns a ListView into a set of radio button items. I assumed that by including this term that anyone who had ever created a single-choice ListView would immediately recognize it and know what I was talking about. This was probably a case of assuming too much and trying too hard to be terse. As to not using the term "select", as you suggest, I did use that term accurately to describe what DID NOT work. Selecting the item does NOT turn on the light on the radio button, and that was precisely the problem I was trying to solve. It turns out that the term in Android for "lighting up" a radio button is "check", which is a violation of the radio button metaphor. And since the one thing that I wanted to do but could not was to create the visual effect of lighting up a radio button, the term "check" would have been inappropriate in that context. So anyway, the answer to the question as to how does one light up a specific radio button is to use: getListView().setItemChecked(mClickedItem, true); Again, sorry to have upset you and Bob. On Apr 8, 7:30 am, "~ TreKing" <[email protected]> wrote: > On Wed, Apr 7, 2010 at 7:57 PM, DonFrench <[email protected]> wrote: > > REALLY??? > > Yes! Really! I wouldn't lie to you! > > > So do you not know what a radio button is or do you not know what happens > > when you select one? > > Yes, I do know what a radio button is and I know what happens when you > SELECT one. Like I said, I don't know what YOU meant by "light up a radio > button". When I hear "light up" I think "set afire" or "riddle with > bullets". I don't think "select a radio button". The only thing I could > ASSUME was that perhaps you meant "highlighting", but that doesn't make > sense either. > > > OK, here is the explanation of radio buttons. > > Ooh, this should be good .... let me get some popcorn ... > > > Radio buttons are used for single-choice lists (and spinners and > > AlertDialogs and, well, Radio Button groups). In every case, each item in > > the set of selectable items has a graphic element that is designed to look > > like a button with a green light in the center that can either be lit up > > or not, simulating car radios of a certain era. > > This looks like a green light to you? OK ... > > > Only one of the items in a group of radio button-equipped items can be > > selected at a time, hence the term single-choice, unlike a multi-choice set > > which employs check box graphics. > > I see, I see ... interesting ... > > > The radio button on an item lights up when you select the item and at the > > same time the light of the previously- selected button goes out. > > Ooooooooooooooooh, these are LIGHTS? Silly me! I thought they were simply > icons or images used to indicate the selected state of the button in > question. I feeble mind did not understand these to be actual, > functional, illuminating devices... though that is obvious now, since > looking around me, these grey circles with green dots CLEARLY look EXACTLY > like all the lights around me. Please forgive my limited mental capacity. > > > I was under the impression that almost every programmer with any > > UI experience was familiar with this paradigm but maybe not. > > I'm familiar with "SELECTING" a radio button, but not with "LIGHTING ONE > UP". But then again I'm not all as smart and experienced as you. > > > Even if not, I feel confident that almost anyone one who has ever created > > a single-choice ListView (i.e. one with radio buttons) knew what I > > was asking and they were the target audience for my question. > > I've used radio buttons and wasn't sure what you were asking. Of course, as > we've conclude, I'm rather slow. > > > While I admit that I do not know the actual percentage of people on the > > list who have ever created a single-choice ListView or who are at > > least familiar with the concept and the API, I am pretty sure that > > the number must be significantly larger than the number who bothered > > to answer my question (zero). > > You're awfully bitter about that one question not being answered. Get over > it, seriously. This is a volunteer group where people take the time out of > their own lives and projects to contribute. You can't expect every question > to get answered and you certainly can't get upset when no one answers your > poorly-phrased question. > > Ironically, if you'd explained your original question with as much detail > and clarity as this condescending and sarcastic post, you might have > received an answer =P > > On Thu, Apr 8, 2010 at 2:06 AM, patbenatar <[email protected]> wrote: > > Really guys? How about we save our energy for answering questions, > > not bitching back and forth.............. > > I have enough energy for both =) > > > I don't know about you guys, but I read through the entire list of topics > > every day and if any title sounds like a question I can answer, I chip in. > > Same here. RSS FTW. Now lets see if I come across some WELL STRUCTURED > questions I can possibly help out with ... > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

