title: How to place logout button on all activities?
body: <p>I am building an application in which user logs In, by using username and password, Activities other than LoginActivity must have a logout option. I have  visited few threads here on SO regarding it an dhave some idea od how to do that programmatically however I cant think of <strong>"where to place this logout button ?".</strong> </p>
  
  <p>I would love to have a navigation or Action bar like popular activities i.e. Facebook for Android, Twitter for Android or Google Play store have. Since in future it will be easier to add additional features on this Action / Navigation bar. How should I proceed ? Any blog, tutorial or link will be of great help... </p>
  
  <p>I am targeting Android 2.1+ devices. Here are some threads which I have already read...
  <a href="https://stackoverflow.com/questions/6123850/how-to-use-same-logout-function-to-all-the-activity-in-the-application">Using same logout function in all activities</a></p>
  
  <p><a href="https://stackoverflow.com/questions/5740727/how-to-perform-logout-in-my-application-in-android">Performing logout</a></p>
  
  <p><a href="https://stackoverflow.com/questions/6826757/android-how-to-logout-from-the-application">How to logout</a> and many more... As a result got some idea about the back end logic (Using Intent and Intent filters etc.) for logout but can't figure out the UI design.</p>
  
  <p><strong>EDIT</strong>
  In some answers it is suggested to use ActionBar, However as I know it is available only after 3.0+, How I provide such functionality for 2.1+, please help... any tutorial, blog or guide will be of great help.. I don't expect code just some pointers to start with... </p>