解决方案 »

  1.   

    android:theme="@android:style/Theme.Light" 配置文件加一下。
    一般自定义标题 都是直接放在布局里面,不太用 系统Feature,不好控制。
      

  2.   

    标题栏添加按钮为什么布直接用actionbar?
      

  3.   

    这样用试试getActionBar().setCustomView(LayoutInflater.from(this).inflate(R.layout.title, null));
    getActionBar().setDisplayShowCustomEnabled(true);
    getActionBar().setDisplayShowHomeEnabled(false);
    getActionBar().setDisplayShowTitleEnabled(false);
      

  4.   

    “android:theme="@android:style/Theme.Light"试过,没用,怎么直接放在布局里?
      

  5.   

    “android:theme="@android:style/Theme.Light"试过,没用,怎么直接放在布局里?
      

  6.   

    相对于”super.onCreate(savedInstanceState);“和”setContentView(R.layout.main);“放在哪个位置?