在設置標題欄的時候報錯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就不會報錯了。