Making Honeycomb ActionBar compatible with ICS

I've an existing app which has couple of tabs, buttons in the actionbar. I want to port it to ICS, My concern is how will the items stack up on the ICS device?

Will all of the showAsAction="ifRoom|withText" be hidden into menu? or will it make a new actionbar at the bottom like ICS gmail app does it.

Answers


Actions will stack up at the top, and be hidden if there is not enough space. If you Split the Action Bar then they will come at the botton You have to configure the Application tag to configure it to be split

  <application android:label="@string/app_name"
    android:icon="@drawable/icon"
    android:logo="@drawable/logo"
    android:theme="@style/AppTheme.Light"
    android:hardwareAccelerated="true"
    android:debuggable="true" android:uiOptions="splitActionBarWhenNarrow">

Need Your Help

Can't find Instantiation of objects (response, request, application) in java web app

java eclipse web tomcat7

I have to work on a java web application which someone else did. Since I'm new to java web development, I scanned the code some and stumbled over some instantiated objects where I can not find the

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.