Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
i want to my application could run in all of android version and after any research about it i'm find to component about that such as Sherlock and AppCompat whats difference Sherlock and AppCompat? which is best for my application to work all of android version such as Fragment , Actionbar or etc?
Sherlock is Hard to import and use that in Eclipse and Intllij and i can not work simply that.
#TuxWorld, Action bar is a component that adds a bar on top of your application.
Android provides a native implementation as part of SDK which is the "AppCompat" version you are referring to. "Sherlock" is an extension to the native implementation (Before there was a native implementation, Sherlock was the way to add action bar). Sherlock version is an open source library that you will have to add to your project where as SDK is already available for you. For most cases using Actionbar provided by AppCompat would fine. However depends on what you are really trying to achieve.
Hope this helps.
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I have an old app, builds with actionbarSherlock and appcompact. I have import the project from eclipse to gradle, but when I compile the project the shell shows me a lot of errors that warnsme that there are duplicates. Like this:
Error: Attribute "subtitleTextStyle" has already been defined.
How can I fix it?
You can't use together ActionbarSherlock and Appcompat library.
They use the same attributes.
Also Actionbarsherlock was deprecated by the author 2 years ago.
I really suggest you switching to appcompat library. In this way you will able to use all the new features and the new support libraries (as the design support library).
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Hi friends i have one small clarification in which basic version the sliding menu can be applicable? Please help me friends. thank you.
Refer this link http://www.androidhive.info/2013/11/android-sliding-menu-using-navigation-drawer/. This Sliding menu is supported from Android API 11 version only.
If you want to implement for lower end of device, you can check out https://github.com/thecodepath/android_guides/wiki/Common-Navigation-Paradigms
You can use the native Navigation Drawer as Sliding Menu. Though The Navigation Drawer supports only API 11 and above. You can use the support Library and use it for Lower versions also. The performance of Navigation Drawer is better. Refer this links for Navigation Drawer
http://developer.android.com/design/patterns/navigation-drawer.html
http://developer.android.com/training/implementing-navigation/nav-drawer.html
And Visit this link for support Library
http://developer.android.com/tools/support-library/index.html
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I come from iOS development, with some basic android apps done,
now im using a android sherlock actionbar,
I dont have clear if this is the same in iphone [iOS] as a UINavigationBar?
thanks!
The Actionbar is an incredibly useful UI widget for Android, having roughly the same appearance as the UINavigationBar on iOS, except with Android specific UI paradigms (context menu integration, tabs, progress loaders and more).
You'll quickly discover though, that the Actionbar only existed natively from Honeycomb (Android 3.x) onwards. So how do we get the Actionbar into projects that use earlier Android versions?
Android's achilles heel is the massive and somewhat fragmented ecosystem. For some reason to do with economics, market demographics or perhaps pure disdain for developers, some manufacturers insist on making devices for Android 2.x - rather than the newer 4.x version of Android. In this instance it's better to use a third party library called ActionbarSherlock by Jake Wharton. ActionbarSherlock (ABS) is basically a support library that will enable most Actionbar features on versions earlier than 2.x, with a few extra options to boot.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is there a possible to use actionbar with tabs and the collapsed action menu in one row
like in the image:
I would like to use standard android actionbar ,not the 3rd party lib.
Yes, it is quite possible to do that without using a third party library. However, it will diminish your backward compatibility. What you can do, and what everyone else does, is use ActionBarSherlock.
Why do we need this third-party lib?
ActionBarSherlock is an extension of the support library designed to facilitate the use of
the action bar design pattern across all versions of Android with a single API.
The benefit of this is:
A lot more users for the app
A stable, tested library at your disposal
http://actionbarsherlock.com/
When you use the standard actionbar, it does this only when there is a lot of space to do this. It will be like this when you are in a landscape phone or a tablet layout.
You cannot force the native actionbar to do this layout always. You can instead use a third party tab layout as a custom view. You can use this library. It is great. https://github.com/astuetz/PagerSlidingTabStrip
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I've been looking at a few ActionBar scripts that support SDK 1.6 and above. Here's the three main ones I'm looking at:
https://github.com/johannilsson/android-actionbar
http://github.com/JakeWharton/ActionBarSherlock
http://android.cyrilmottier.com/?p=240
Which one do you recommend? or if you have another suggestion, let me know.
ActionBarSherlock is great library I've used it on several projects from Android 2.1 to 4.0 (it;s compatible to 1.6), the dev Jake Wharton is great at including the latest features from the Android compatibility library very quickly.
Here's a link to the demo app useful for seeing some of the things you can do with it.
I recommend google ioschedule app pattern. You could download it's source code.
Why not just use the actionbar that is provided in the backward compatibility api?