1、这个因为高版本不支持这个,所以把FILL_PARENT改成MATCH_PARENT就行了,也能支持低版本,
2、Multiple markers at this line- implements android.view.View.OnKeyListener.onKey- Field requires API level 11 (current min is 7):android.app.ActionBar.LayoutParams#MATCH_PARENT- Field requires API level 11 (current min is 7):android.app.ActionBar.LayoutParams#MATCH_PARENT
3、原来是我的android版本太低,去到项目,androidManifest.xml把版本改高点就行了。