aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/de/pixart/messenger/ui/ActionBarActivity.java
blob: 997edaac3d2ab09a66f6ffb798a1544a31ef48b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package de.pixart.messenger.ui;

import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;

public abstract class ActionBarActivity extends AppCompatActivity {
    public static void configureActionBar(ActionBar actionBar) {
        if (actionBar != null) {
            actionBar.setHomeButtonEnabled(true);
            actionBar.setDisplayHomeAsUpEnabled(true);
        }
    }
}