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
If you want the backported Material Design look, use AppCompatActivity. If not, but you want nested fragments, use FragmentActivity. If not, use Activity.
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.
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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With