Calling the arrow and allowing back function to return to the parent activity which is the mainActivity (first screen)
This commit is contained in:
parent
9a92544df0
commit
6ff8e099eb
@ -8,7 +8,8 @@ import android.os.Bundle;
|
||||
public class AddCity extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
protected void onCreate(Bundle savedInstanceState)
|
||||
{
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.add_city_page);
|
||||
Toolbar toolbarAddCity = (Toolbar) findViewById(R.id.toolbarAddCity);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user