Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will the new ActionBar API be included in the Fragment backport?

With the blogpost yesterday regarding us getting a healthy dose of Fragments all the way back to 1.6, I was wondering, will the ActionBar APIs be included in this backport?

They appear to be somewhat linked together, from the API Docs at the least. However, I could see the Fragments being separate from the ActionBar, but not visa-versa.

Anybody have any news?

Thanks -- Selig

like image 849
Amanda Avatar asked Feb 05 '11 21:02

Amanda


People also ask

Should I use activity or AppCompatActivity?

If you want the backported Material Design look, use AppCompatActivity. If not, but you want nested fragments, use FragmentActivity. If not, use Activity.

Why do we extend AppCompatActivity?

AppCompatActivity enables many of the backwards compatibility features in a transparent manner. For example, implements Material Design views and features not available in 4.0. So, it's still a good practice to use it.

Where is ActionBar in android?

Android ActionBar is a menu bar that runs across the top of the activity screen in android. Android ActionBar can contain menu items which become visible when the user clicks the “menu” button.

What is Androidx AppCompat widget toolbar?

androidx.appcompat.widget.Toolbar. A standard toolbar for use within application content. A Toolbar is a generalization of action bars for use within application layouts.


1 Answers

ActionBarSherlock at https://github.com/JakeWharton/ActionBarSherlock is an Android library for implementing the action bar design pattern using the native ActionBar on 3.0+ and a third-party library on pre-3.0.

It uses one of the other ActionBar implementations on pre-3.0 devices, either:

GreenDroid at https://github.com/cyrilmottier/GreenDroid

or android-actionbar at https://github.com/johannilsson/android-actionbar

like image 129
Intrications Avatar answered Oct 12 '22 17:10

Intrications