-1

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 block if possible...

Thanks in advance

Andrei Sfat
  • 8,440
  • 5
  • 49
  • 69
Parmendra Singh
  • 1,015
  • 3
  • 15
  • 27

2 Answers2

0

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.

Gimbl
  • 1,500
  • 1
  • 13
  • 23
0

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?

Community
  • 1
  • 1
Kamen
  • 3,575
  • 23
  • 35