git404hub

what is actionbarsherlock fr?

jakewharton/actionbarsherlock — explained in plain English

Analysis updated 2026-06-22

7,063JavaAudience · developerComplexity · 2/5LicenseSetup · moderate

tl;dr

A deprecated Android Java library that once let developers use the Action Bar navigation UI on both old and new Android devices from a single codebase, now replaced by Google's official AppCompat library.

vibe map

mindmap
  root((repo))
    What it does
      Android Action Bar
      Old device backcompat
      Single API both versions
    Status
      Deprecated archived
      Use AppCompat instead
      No new development
    Tech stack
      Java Android
      Apache license
      Android 2.x to 4.0
    Use today
      Legacy app migration
      Historical reference
      Study backcompat patterns

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Study the source code as a historical reference for how Android backcompat UI libraries were architected before Google's official support libraries.

VIBE 2

Reference the codebase when migrating a legacy Android app from ActionBarSherlock to the modern AppCompat library.

VIBE 3

Use as an example of how to write an Android library that provides a single API over two different native implementations.

what's the stack?

JavaAndroid

how it stacks up fr

jakewharton/actionbarsherlocknaman14/timberogaclejapan/smarttablayout
Stars7,0637,0507,077
LanguageJavaJavaJava
Setup difficultymoderatemoderateeasy
Complexity2/53/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · moderate time til it works · 30min

This library is deprecated, use AppCompat instead. Only relevant for maintaining or migrating legacy Android codebases.

Use freely in personal or commercial projects, include the license notice but you may modify and distribute the code.

in plain english

ActionBarSherlock is a deprecated Java library for Android app development, created by Jake Wharton. It is no longer maintained and no further development will take place. The README directs anyone still looking for this kind of tool to use AppCompat instead, which is Google's official supported replacement. When this library was active, it solved a specific problem from the early days of Android development. Android version 4.0 introduced a built-in navigation bar at the top of apps called the Action Bar, which let users access menus, titles, and navigation buttons in a consistent way. Older Android versions did not have this feature. ActionBarSherlock let developers write their app once using a single consistent programming interface, and the library would automatically use the built-in Action Bar on devices running Android 4.0 and above, while providing its own matching implementation for older devices running Android 2.x. This solved a real headache for developers in 2012 who wanted their apps to look consistent across a wide range of Android devices, many of which were still running older software versions. The library became widely adopted before Google released its own official backport solution. The library is licensed under the Apache License 2.0, which is a permissive open-source license that allows use in both personal and commercial projects. Since it is deprecated and no longer updated, it is not appropriate for use in new Android projects. The README explicitly points to AppCompat as the current solution for anyone who needs the same capability.

prompts (copy fr)

prompt 1
I have a legacy Android app using ActionBarSherlock and need to migrate it to AppCompat. Show me the key class and import substitutions I need to make.
prompt 2
Explain what problem ActionBarSherlock solved before Android 4.0 and how it provided a consistent Action Bar on older Android 2.x devices.
prompt 3
I am reading the ActionBarSherlock source to understand how it delegates to the native Action Bar on Android 4.0 and above vs its own implementation on 2.x. Walk me through the delegation pattern.
prompt 4
What are the AppCompat equivalents for the main ActionBarSherlock classes I was using, such as SherlockFragmentActivity and the menu inflation pattern?

Frequently asked questions

what is actionbarsherlock fr?

A deprecated Android Java library that once let developers use the Action Bar navigation UI on both old and new Android devices from a single codebase, now replaced by Google's official AppCompat library.

What language is actionbarsherlock written in?

Mainly Java. The stack also includes Java, Android.

What license does actionbarsherlock use?

Use freely in personal or commercial projects, include the license notice but you may modify and distribute the code.

How hard is actionbarsherlock to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is actionbarsherlock for?

Mainly developer.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.