I want to create a variable number of buttons, and I want them to be adjacent (I cannot use the ListView
), so I know I have to inflate a Button
somehow. My question is how to inflate the Button
, and for each of the created buttons, how to create a listener?
Thanks