android-extendedactionbar alternatives and similar packages
Based on the "ActionBar Widget" category.
Alternatively, view android-extendedactionbar alternatives based on common mentions on social networks and blogs.
-
ActionBarSherlock
DISCONTINUED. Action bar implementation which uses the native action bar on Android 4.0+ and a custom implementation on pre-4.0 through a single API and theme. -
FadingActionBar
Android library implementing a fading effect for the action bar, similar to the one found in the Play Music app -
TabBarView
An Android Library to help you create actionbar tabs like "Capitaine train" app by Cyril Mottier -
CartCounter
๐ Add a cart icon with item counter to the Toolbar. You can increment the counter based on the number of unique items the user has in the shopping cart. -
Google Assistant App Actions on Android
App Actions let users launch specific features in your app using Google Assistant. By enabling App Actions to extend your app, users can easily deep link into your apps via Assistant by simply speaking a request to the Assistant.
InfluxDB - Purpose built for real-time analytics at any scale.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of android-extendedactionbar or a related project?
README
Extended ActionBar
The problem:
Android 4.4 Kitkat introduced a wonderful new opportunity: translucent bars.
It's as simple as adding the following to your theme:
<item name="android:windowTranslucentStatus">true</item>
<item name="android:windowTranslucentNavigation">true</item>
Awesome, right? Well, almost. The thing is, if you happen to have an ActionBar (like 99.9% of apps out there) than it won't automatically extend behind the status bar: the status bar will be translucent and the window background will be showed... A picture is worth a thousand words:
[Image](../master/imgs/problem.png?raw=true)
There are many ways to fix this programmatically or with some wise layouts, but when the application is launched or recreated only the theme will be used (before loading ANY code or layout) and the problem will still be annoyingly present.
The solution:
In this repository I show how to achieve an illusion of "ActionBar extension" (look at the code to see what it means). It is unfortunately more of a hack than a proper solution, but that is due to the fact that the required components (namely @android:dimen/status_bar_height and the ability to create custom drawables, as the ones provided are barely usable and highly bugged) have been banned by the Gods.
Please use it with careful consideration and don't blame me if your device explodes or you cat conquers the world!
[Image](../master/imgs/solution.png?raw=true)
The extra mile:
While I was there I took the opportunity to create a simple Activity that removes the hacky window background and does things properly in order to eliminate any overdraw. It's supposed to be a starting point, though I hope to make it into a real library someday.
Before:
[Image](../master/imgs/overdraw_before.png?raw=true)
After:
[Image](../master/imgs/overdraw_after.png?raw=true)
Notes:
I will start using a variation of this code in my apps along with a "secret agent" that will notify me if it ever encounters a device with a status bar bigger than 25dp (if it's smaller or not at the top, it won't be a problem as it will get drawn behind the ActionBar). If such a thing happens, I will update this accordingly.