PreferenceActivity里自定义标题栏(title bar)出错:requestFeature() must be called before ad
一般activity里自定义标题栏时候,我们一般会遵循一个顺序:
final boolean isCustom = requestWindowFeature(Window.FEATURE_CUSTOM_TITLE);
setContentView(R.layout.you_layout);
if(isCustom){
getWindow().setFeatureInt(Window.FE
转载
2014-12-12 01:14:17 ·
1187 阅读 ·
0 评论