@@ -0,0 +1,978 @@
+package com.fss.Common.ui;%0A%0A%0Aimport android.os.Bundle;%0Aimport android.support.v7.app.ActionBar;%0Aimport android.support.v7.app.ActionBarActivity;%0Aimport android.view.View;%0A%0A/**%0A * %E8%87%AA%E5%AE%9A%E4%B9%89actionbar Activity%0A *%0A * @author W.Q%0A * @date 2014%E5%B9%B45%E6%9C%8824%E6%97%A5%0A */%0Apublic abstract class CustomViewActionbarActivity extends ActionBarActivity %7B%0A    @Override%0A    protected void onCreate(Bundle savedInstanceState) %7B%0A        // TODO Auto-generated method stub%0A        super.onCreate(savedInstanceState);%0A        ActionBar actionBar = getSupportActionBar();%0A        //%E4%BD%BF%E8%87%AA%E5%AE%9A%E4%B9%89%E7%9A%84%E6%99%AE%E9%80%9AView%E8%83%BD%E5%9C%A8title%E6%A0%8F%E6%98%BE%E7%A4%BA, actionBar.setCustomView%E8%83%BD%E8%B5%B7%E4%BD%9C%E7%94%A8.%0A        actionBar.setDisplayShowCustomEnabled(true);%0A        actionBar.setCustomView(getCustomActionBarView());%0A        actionBar.setDisplayHomeAsUpEnabled(false);%0A        actionBar.setDisplayShowTitleEnabled(false);%0A        actionBar.setDisplayUseLogoEnabled(false);%0A        actionBar.setDisplayShowHomeEnabled(false);%0A    %7D%0A%0A    protected abstract View getCustomActionBarView();%0A%0A%7D%0A

add customview acionbar activity