Questions tagged [actionbarsherlock]
ActionBarSherlock is an extension of the compatibility library designed to facilitate the use of the action bar design pattern across all versions of Android with a single API.
3,281
questions
0
votes
0
answers
16
views
TabSwipeActivity to work with ActionBar without ActionBarSherlock
I had actionbarsherlock in my app implemented. Now I want to get rid of it as Im increasing to API 21 and think its not required anymore.
I have an ActionBar on in a TabSwipeActivity and this is the ...
0
votes
1
answer
87
views
"ActionBarSherlock" error after removing ActionBarSharelock from gradle implementation
Just recently I posted a question as I had a link issue. Then there I was told by a person that you cannot use ActionBarSharelock and AppCompat at the same time. So they advised me to remove the ...
1
vote
1
answer
137
views
failed linking references resource and duplicate value after update Android Studio
I've been researching this issue for the past 5 days. And there were enough solutions, but no one could help me. Please tell me a solution to this problem.
Some Screenshots and Code Here Below:
...
1
vote
1
answer
58
views
NoSuchFieldError when updating from ActionBarSherlock to AppCompatActivity
I am updating an app from API 9 to API 28 which implemented ActionBarSherlock. I have been following many tutorials (specially this one) to upgrade from ActionBarSherlock to ActionBarActivity and ...
6
votes
0
answers
343
views
ActionBarSherlock causes Android Linking Error
I inherited a project that for whatever reason uses ActionBarSherlock even though it was written a year ago... Anyhow, it was written on Android Studio v2.0 and targets android version 19. I updated ...
0
votes
0
answers
627
views
Unknown android attribute SherlockSpinner
I am supposed to migrate to Android Studio and redesign an old app. This app is using actionbarsherlock( very deprecated, I know).But, to start I need to make it work.
I have added it as a module but ...
3
votes
4
answers
3k
views
Build failing since last update
I cannot build my Android project since I updated Android studio about ten days ago. I updated it again yesterday, but I still cannot build project. Worst thing is I cannot determine the source of ...
1
vote
0
answers
240
views
ActionBarSherlock is not working in Android Studio 3.0
I have an old eclipse project and I was using ActionBarSherlock library for customising action bar. Now I am migrating this project into android studio 3.0 but after including this library in project ...
0
votes
0
answers
43
views
Actionbarsherlock conflicts Facebooks sdk facebook-android-sdk:[4,5) [duplicate]
My project is 3 years old which uses compile project(':actionbarsherlock')
Now trying to update facebooks sdk to lates version because Reminder: Graph API v2.4 will be deprecated on Oct 09, 2017
...
0
votes
0
answers
41
views
Actionbarsherlock cannot be rename
I am running GoogleMapsV2WithActionBarSherlock which is an Eclipse project. On import, How do I rename this file located below.
Every time I am manually renaming the file, the problem is existing ...
0
votes
1
answer
118
views
Need both ActionBarSherlock and appcompat-v7 in a project
Please, help. I need both libraries in an android project and appcompat must be version 24.0.0 or higher. MultiDex and changing targetSdk version didn't help.
0
votes
0
answers
94
views
Gradle Sync Error:(57,0)
I'm having a lot of trouble moving source code from github to Android Studio and I think a big part of the problem is with the gradle build tool files. I have never worked with android studio before ...
2
votes
2
answers
268
views
Crash when adding Firebase for Google Ads in gradle
I am trying to add in an older project google ads banner, but when I add to the Grandle the Firebase and run the app it crashes:
This is my gradle:
apply plugin: 'com.android.application'
android {
...
8
votes
1
answer
1k
views
Search for text which contains certain character in SearchView AutoCompleteTextView
I am trying to modify an open source dictionary project which use ActionBarSherlock SearchView$SearchAutoComplete. For example, I have an entry called "Google Play". The SearchView is able to return ...
0
votes
2
answers
138
views
Removing Sherlock Actionbar library Theme not found
I have removed the ActionBarSherlock library and adapted my code.
Now I get errors in my style.xml
<style name="Theme.MyTheme" parent="Theme.Sherlock.Light">
What do I have to use instead of ...
0
votes
0
answers
142
views
Conflict appcompat with sherlock library
I am using the image cropper library cropper and therefore have this gradle:
compile ('com.theartofdev.edmodo:android-image-cropper:2.3.+'){
exclude group: 'com.android.support'
}
I have ...
4
votes
3
answers
8k
views
Error:(254) Attribute "background" already defined with incompatible format
In my old project i have use roboguice-sherlock and actionbarsherlock, now i also want to implement com.android.support:appcompat-v7 and com.android.support:design but when i am trying to add this two ...
0
votes
1
answer
69
views
Google map with actionBarSherlock - Android studio?
I am using from this LINK ,I imported this sample to my android studio 2.1.2 but get me some error.
My gradle :
apply plugin: 'com.android.application'
android {
compileSdkVersion 17
...
0
votes
1
answer
5k
views
Error attribute has already been defined
i know this question have been asked a lot..but I can't resolve this problem.I'm a newbie, help me.
So, there are code in my gradle build:
dependencies {
compile 'com.android.support:...
0
votes
0
answers
162
views
A issue occurred evaluating project ':ActionBarSherlock'
When i try to sync my project i got Below Error ,what was the wrong in my gradle file
Error:
A problem occurred evaluating project ':ActionBarSherlock'.
Failed to apply plugin [id 'com....
1
vote
1
answer
577
views
Error:(773) Attribute "titleTextStyle" has already been defined
I'm trying to migrate a project from Eclipse to Android Studio and after googling the problem I found an answer here. Unfortunately, my app requires both the ActionBarSherlock library and appcompat-v7....
0
votes
0
answers
90
views
How to add Sliding Menu button below the Top of screen?
I am using ActionBarSherLock and SlidingMenu liberary to implement sliding menu.
But the problem is I want to add this sliding menu button leaving some space from top. I want the whole actionbar and ...
3
votes
1
answer
2k
views
Using actionbarsherlock with android-support-v4 (Version 23)
I'm developing an app with actionbarsherlock and the ABS project is currently using android-support-v4 library (Version 18). Now I want to extend my project to support Android 6.0 and in order to use ...
2
votes
0
answers
690
views
How to solve conflicting error of Attribute ActionbarSharelock and appcompat-v7
I got this error after i was replaced ActionbarSharelock library to appcompat-v7
I got error into build directory of values folder.
/media/ci-and-05/Project/AndroidStudio Project/1.40/src_logamp-1....
2
votes
1
answer
769
views
I get thrown 166 errors when i try compiling appCompat to my gradle
When i try compiling compile 'com.android.support:appcompat-v7:23.1.1' to my gradle it throws me all these errors. I'm not sure how to get appcompat into my project.
Here is my gradle for my app.
...
0
votes
1
answer
3k
views
java.lang.NoSuchFieldError: android.support.v4.app.Watson.mFragments
I'm trying to implement ActionBarSherlock swipe menu as I like how this animation slides over the slide menu. Unfortunately I keep getting this error and haven't been able to solve it.
This guy is ...
-1
votes
1
answer
364
views
How to import ActionBarSherlock in android SDK version 23
I am trying to implement the Sherlock ActionBar in Android Studios, however as I am new to Android studios I do not understand what I need to put into the build.gradle file dependencies section in ...
0
votes
0
answers
90
views
R cannot be resolve with actionbarsherlock
I have added actionbarsherlock
And so far it is causing a headache. After solving many issues, I stuck with new issue.
WHen I derived my activity class from SherlockFragment activity and tried to use ...
1
vote
2
answers
613
views
How to add Actionbarsherlock to android studio project
I need to add actionBarSherlock to my android project.
I have downloaded actionbarsherlock and it has four folders: libs, res,src,test
I need to ask what next. like widows there is no dll or ...
0
votes
0
answers
395
views
Gradle finished with non-zero exit value 1 only for one project, the rest are working fine
I recently added ActionBarSherlock to my project,I only took the classes that I need. But after adding it I get this error each time I try to run the project, I HAVE TRIED CLEANING AND REBUILDING THE ...
0
votes
1
answer
261
views
Android Layer-list Badge
I followed this article : http://javarticles.com/2015/09/android-icon-badge-example-using-layer-list-drawable.html . My code is almost exactley the same , with a little tweaking in the positioning ...
-1
votes
1
answer
32
views
actionbarsherlock samples + Maven
I have imported the actionbarsherlock to Eclipse and I'm trying to build the samples. All Eclipse plugins are up-to-date. I took the original pom.xml but changed the Android API version to 23.
...
1
vote
1
answer
1k
views
No such field error when using ActionBarSherlock in android project
I have added the ActionBarSherlock library project in to my project but am having no such field error at mFragments.mAdded during run time.
My stack trace is :
12-06 00:40:00.480: E/AndroidRuntime(...
0
votes
1
answer
47
views
create android action bar menu with Sherlock
I want to create android action bar with Sherlock according to bottom picture.
how to put the title bar on center and my lists icon align to be right
although another icon set be left.
0
votes
2
answers
46
views
Android: Button OnClick not working in SherlockFragment
I've tab activity in which i want to use a button, but when i click on button, it force closes the app. Can you please tell me what is going on, i am new to Android.
public class HomeActivity ...
0
votes
2
answers
66
views
Nullpointer exception in action bar [duplicate]
I am getting the null object reference of action bar while calling the setTitle function. This is my code
import android.app.ActionBar;
import android.app.Activity;
import android.os.Bundle;
import ...
1
vote
1
answer
66
views
Importing android project as library project in another android project
I have created a project with help of Action Bar Sherlock. Now, I have made that project as library project and want that project to be included in another project which uses appcompat.
Here, I faced ...
2
votes
2
answers
6k
views
How to import Action Bar Sherlock? android studio
I want to export and import a gradle project which I used in Android with Eclipse.
Problems importing project into Android Studio regarding ActionBarSherlock
android {
compileSdkVersion '...
-1
votes
1
answer
101
views
Sherlock ActionBar nowadays
I'm trying to implement Sherlock ActionBar, but I'm not getting... Seems It's too old.
Does it have an equivalent ActionBar, or someone have a new tutorial ?
4
votes
2
answers
3k
views
ActionBarSherlock Type mAdded cannot be resolved or is not a field Watson.java
I spended a day looking for solution for this error
I downloaded ActionBarSherlock and import library to eclipse
I had fixed all errors and this is the last one
I Checked all layouts there is no xml ...
0
votes
1
answer
544
views
ActionBarSherlock crashes my app on Android 6.0
I have an app that was written a couple years back that I am in the process of maintaining. The app uses HoloEverywhere and ActionBarSherlock to provide certain functionality back to older versions ...
0
votes
1
answer
132
views
opening a SherlockFragment activity from non activity class?
i am trying to open a SherlockFragment activity from non activity class
using this from an normal activity
Android.app.Activity >> NonActivityClass >> SherlockFragmentActivity
Passing this from ...
0
votes
1
answer
934
views
Android Studio Appcompat conflict with ActionBarSherlock [duplicate]
i try import eclipse project to android studio and get this error
Error:(1) Attribute "titleTextStyle" has already been defined
Error:(1) Attribute "subtitleTextStyle" has already been defined
Error:(...
-1
votes
1
answer
369
views
How can I resolve actionbarSherlock conflict with appcompat? [closed]
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 ...
0
votes
1
answer
622
views
Issue building actionbarsherlock with latest android support v4 library (version 23)
I updated my support v4 library to latest version 23 and also updated the jar for the same in my actionbarsherlock library and a build issue started to come. Watson.java shows multiple errors.
It ...
2
votes
1
answer
3k
views
How to replace menu dynamically with another in Android
I have a ListActivity (SherlockListActivity) and its content can be dynamically changed by the user. When the content changes, the options menu should be replaced.
As I learned, instead of ...
0
votes
0
answers
126
views
onOptionsItemSelected confusion
something strange happens in my method, for some reason I can not access my ID menu item.
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/...
0
votes
0
answers
99
views
How to add Sherlock Action Bar to Android Studio
I am trying to make a project with tabbed action bar and all the codes I found crash on my device, because tab has been deprecated.
So I am trying to add the Sherlock action bar, but it is not in the ...
1
vote
1
answer
380
views
Android Studio conflict between actionbarsherlock and appcompat-v7
i'm beginning to work in an old application which was developped with eclipse and actionbarsherlock. I need to import it to android studio and i'm having some issues that i can't resolve.
When i try ...
1
vote
0
answers
76
views
Getting a NPE with AppCompatActivity that I wasn't getting with ABS
In my onCreateOptionsMenu() I'm getting a View v that is ending up null. I can put a null check around it, but it won't actually solve the issue since I need to use that view further on in the method. ...