Skip to content
Advertisement

Open New Activity from Android Button Click

In my app I’m developing in android studio, I’m making a button to redirect from one activity to another but it does not give me anything even though I do not have any errors in the code.

JavaScript

Advertisement

Answer

Check your id’s on your xml layout, also check there is no onClick XML property being used that can be conflicting with your button, check that your new activity name and that your new activity is correctly linked to the intended layout

JavaScript

Hope it helps

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement