Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- protected void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.activity_main);
- /* Assinging the toolbar object ot the view
- and setting the the Action bar to our toolbar
- */
- toolbar = (Toolbar) findViewById(R.id.tool_bar);
- setSupportActionBar(toolbar);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement