[color=blue]requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); [/color] // must be called before setContentView()
setContentView(R.layout.image_gallery_2);
[color=blue] getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_gallery_title);[/color]
setContentView(R.layout.image_gallery_2);
[color=blue] getWindow().setFeatureInt(Window.FEATURE_CUSTOM_TITLE, R.layout.custom_gallery_title);[/color]