private void setupActionBar() {
        ActionBar actionBar = getSupportActionBar();
        if (actionBar != null) {
            // Show the Up button in the action bar.
            actionBar.setDisplayHomeAsUpEnabled(true);
        }
    }
Set up the {@link android.app.ActionBar}, if the API is available.
app/src/main/java/home/smart/fly/animations/SettingsActivity.java