Press on the image to return to the main documentation page.
AHActionBar
Written by Markus Stipp
This library provides an ActionBar.
The ActionBar was introduced in Android 3.0. This is a complete custom implementation of an ActionBar so it is not really compatible with the Android 3.0+ ActionBar.
This library is somewhat different to other libraries because it makes use of standard Android resource files. Resource files cannot be published inside a .jar file and so you have to copy them to your Basic4Android project directory.
Copy the whole "res" directory structure to the "Objects" directory of your B4A project and VERY IMPORTANT: make them READ ONLY! Otherwise B4A will delete them when compiling. After you make any change to the Objecs/res directory use "Clean project" menu item in B4A to force the compiler to recreate the R.java file.
If you forget to make the resource files read only then you will most likely get a ResourceNotFound exception when you try to use the ActiionBar.
The object is highly based on an open source project by Johan Nilsson: Android-ActionBar