K
K
kenny1822017-02-04 20:17:49
Android
kenny182, 2017-02-04 20:17:49

How to make a transition between forms?

I made a button on the toolbar. How can I make it so that when you click on it, the settings form opens?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2017-02-04
@kenny182

Create a new Activity, and the simplest transition code is this (Java again, Xamarin is reluctant):

Intent intent = new Intent(this, MyActivity2.class);
this.startActivity(intent);

Where exactly to write it - find it in the same place as about creating the options menu itself.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question