在设置标题栏的时候报错java.lang.RuntimeException: Unable to start activity ComponentInfo{com.feemung.binarycalculator/com.feemung.binarycalculator.ui.MainActivity}: java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
将MainActivity的继承ActionBarActivity更改为Activity就不会报错了。