I just want to add a button (may be a refresh button) in the title of an application in my android application.
Please guide... and provide code blo开发者_开发知识库ck if possible...
Thanks in advance
I believe you are talking about a Actionbar but that does not offer backwards compatibility prior to API Level 11. There are several open source actionbar implementations, such as this, this, or this. Or, you can simply create one yourself.
Check this API tutorial:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/CustomTitle.html
or this Stackoverflow article:
Android: How to create a Dialog with a Scrolling title?
精彩评论