This is driving me up the wall, i keep getting different answers from everyone so was hoping I can get a definite answer on here. Looking for the simplest way for me to have the text in my app to link to the another page within my app.
What's the easiest way this can be done?
I'm using lots of nested LinearLayouts with a TextView and ImageView in each. I only need my text to be linkable so just TextView.
Is it easier to have just the image linking? I.e. I can have the ImageView linking instead of my TextView? Whatevers easier really as this is getting tiring now.
i've been told to use an OnTouchListener, OnClickListener, Android:Clickable etc and nothing has worked.
Any help would really be appreciated.
What's the easiest way this can be done?
I'm using lots of nested LinearLayouts with a TextView and ImageView in each. I only need my text to be linkable so just TextView.
Is it easier to have just the image linking? I.e. I can have the ImageView linking instead of my TextView? Whatevers easier really as this is getting tiring now.
i've been told to use an OnTouchListener, OnClickListener, Android:Clickable etc and nothing has worked.
Any help would really be appreciated.
. The code above makes a view clickable, since im using nested LinearLayouts in this case i'm clicking on one of the LinearLayouts
Top stuff, just glad its done.