커스텀 타이틀바 만들려는데 오류때메 질문있어요..
엑티비티 상속은 ActionBarActivity 이구요
오류는 You cannot combine custom titles with other title features 입니다
매니페스트에 android:minSdkVersion="14" android:theme="@style/CustomActionBarTheme" 했구요
뭐가 틀렸는지 알려주시면 정말 감사하겠습니다 ㅠㅠ
MainActivity.java
requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
setContentView(R.layout.mainactivity);
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.window_title);
values / theme.xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="CustomActionBarTheme" parent="@style/Theme.AppCompat">
<item name="android:actionBarStyle">@style/MyActionBar</item>
</style>
<style name="MyActionBar" >
<item name="android:background">#ffffff</item>
</style>
</resources>