开发者

Custom titlebar without the shadow

开发者 https://www.devze.com 2023-01-29 18:23 出处:网络
I want to have a GUI kindof like how Market is.Mainly I want a title with an icon and the name.So I\'ve开发者_JAVA百科 disabled the default titlebar and are using a 9 patch image as my custom titlebar

I want to have a GUI kindof like how Market is. Mainly I want a title with an icon and the name. So I've开发者_JAVA百科 disabled the default titlebar and are using a 9 patch image as my custom titlebar. It looks great, but the top system bar ( cannot remember what's it called atm ) is casting a shadow on my application - specifically on my titlebar. I've looked at the Market's custom titlebar and it doesn't have a shadow, or the shadow is below the three main buttons casting on the contentlist.

How can I remove the shadow from my custom titlebar, and maybe have it below - casting on the content?


The short answer to this is that the title bar is a part of the theme and that one have to make changes to the current theme and set a custom layout for the title bar. More info here: http://www.anddev.org/my_own_titlebar_backbutton_like_on_the_iphone-t4591.html

0

精彩评论

暂无评论...
验证码 换一张
取 消