I have some text views in an linear layout in my android application. Next to them I want to put a small question mark of the form [?], that when tapped displays a popup with some information. I could do this with a button but it would be very big.
Is there any simple way of doing this?
You could set the question mark in a new TextView, and set a click listener via the
onClickListener(View.OnClickListener l). From there you could use thegetId()method to determine the question mark that was called. Then, you could use a switch statement, to split your programflow, and to whatever you want inside the switch statement.TextView in the Android Reference:
http://developer.android.com/reference/android/widget/TextView.html