Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Action bar compatibility

I notice that on the android developer web page, there is THIS document which is titled "Action bar compatibility" .

Does it show the action bar implementation with old android API less than v11 or does it show how to implement action bar with API v11 and greater? I get confused by this page.

like image 675
user842225 Avatar asked Feb 05 '12 15:02

user842225


1 Answers

This sample shows how to use the ActionBar design pattern on pre-API 11 devices and the built-in ActionBar on devices supporting API 11 or greater.

It shows 2 things:

  1. How to use an action bar without the actual ActionBar object on pre-API 11 devices. A ActionBar is simulated.

  2. How to use the ActionBar in Android 11+

like image 162
poitroae Avatar answered Nov 09 '22 17:11

poitroae