requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
setContentView(R.layout.main);
getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.title_bar);
- <item name="android:windowTitleSize">50dp</item>
- <item name="android:windowTitleBackgroundStyle">@style/CustomWindowTitleBackground</item>