Basic question but i have checked a number of places and can only find information on pop up messages like toast etc.
How would I be able to link buttonA (stored in fragment xml file) so that it will view activitypage.xml?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
One thing you can do make a new Activity for each “Screen”. Let’s make an example, MyNewActivity. The rest is pretty simple. In your button XML add this line:
Then in the Fragment that has contains buttonA, do something like this:
make sure that in MyNewActivity you put this line in
onCreate