implemented using actionbarsherlock,now many customisations available