Tasks/src/tablet/java/com/dummies/tasks/tablet/activity/TaskListAndEditorActivity.java
@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        // Set up the layout from an XML file
        setContentView(R.layout.activity_task_list_and_editor);

        // Tell Android that R.id.toolbar is our ActionBar
        setActionBar((Toolbar) findViewById(R.id.toolbar));
    }
/**
     * Called when the activity is first created.
     */
Called when the activity is first created.
Called when the activity is first created .
@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_task_list_and_editor);
        setActionBar((Toolbar) findViewById(R.id.toolbar));
    }
@ Override public void onCreate ( Bundle savedInstanceState ) { super . onCreate ( savedInstanceState ) ; setContentView ( R . layout . activity_task_list_and_editor ) ; setActionBar ( ( Toolbar ) findViewById ( R . id . toolbar ) ) ; }
Called when the activity is first created.
Called when the activity is first created .
// Set up the layout from an XML file // Tell Android that R.id.toolbar is our ActionBar