Advertisement
Guest User

Untitled

a guest
Sep 13th, 2015
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1.   @Override
  2.     protected void onCreate(Bundle savedInstanceState) {
  3.         super.onCreate(savedInstanceState);
  4.         setContentView(R.layout.activity_main);
  5.  
  6.     /* Assinging the toolbar object ot the view
  7.     and setting the the Action bar to our toolbar
  8.      */
  9.         toolbar = (Toolbar) findViewById(R.id.tool_bar);
  10.         setSupportActionBar(toolbar);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement