lorensiuswlt/NewQuickAction — Issue #10: Android 4.0 Compatibility?
Author: faint545
Created: 2012-02-25 16:54:07+00:00
State: open

Is this library known to work with ICS (4.0) ? I get the following stacktrace when I try to use this library on 4.0+

02-25 11:41:29.047: E/AndroidRuntime(535): FATAL EXCEPTION: main
02-25 11:41:29.047: E/AndroidRuntime(535): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.towson.snackoverflow/com.towson.snackoverflow.activities.BountyDetailsActivity}: android.view.InflateException: Binary XML file line #40: Error inflating class
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.app.ActivityThread.access$600(ActivityThread.java:123)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.os.Handler.dispatchMessage(Handler.java:99)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.os.Looper.loop(Looper.java:137)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.app.ActivityThread.main(ActivityThread.java:4424)
02-25 11:41:29.047: E/AndroidRuntime(535):	at java.lang.reflect.Method.invokeNative(Native Method)
02-25 11:41:29.047: E/AndroidRuntime(535):	at java.lang.reflect.Method.invoke(Method.java:511)
02-25 11:41:29.047: E/AndroidRuntime(535):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
02-25 11:41:29.047: E/AndroidRuntime(535):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
02-25 11:41:29.047: E/AndroidRuntime(535):	at dalvik.system.NativeStart.main(Native Method)
02-25 11:41:29.047: E/AndroidRuntime(535): Caused by: android.view.InflateException: Binary XML file line #40: Error inflating class
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.view.LayoutInflater.createView(LayoutInflater.java:606)
02-25 11:41:29.047: E/AndroidRuntime(535):	at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.view.LayoutInflater.onCreateView(LayoutInflater.java:653)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:678)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.view.LayoutInflater.rInflate(LayoutInflater.java:739)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
02-25 11:41:29.047: E/AndroidRuntime(535):	at net.londatiga.android.QuickAction.setRootViewId(QuickAction.java:102)
02-25 11:41:29.047: E/AndroidRuntime(535):	at net.londatiga.android.QuickAction.(QuickAction.java:78)
02-25 11:41:29.047: E/AndroidRuntime(535):	at com.towson.snackoverflow.activities.BountyDetailsActivity.setupQuickActions(BountyDetailsActivity.java:110)
02-25 11:41:29.047: E/AndroidRuntime(535):	at com.towson.snackoverflow.activities.BountyDetailsActivity.onCreate(BountyDetailsActivity.java:51)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.app.Activity.performCreate(Activity.java:4465)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)
02-25 11:41:29.047: E/AndroidRuntime(535):	... 11 more
02-25 11:41:29.047: E/AndroidRuntime(535): Caused by: java.lang.reflect.InvocationTargetException
02-25 11:41:29.047: E/AndroidRuntime(535):	at java.lang.reflect.Constructor.constructNative(Native Method)
02-25 11:41:29.047: E/AndroidRuntime(535):	at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.view.LayoutInflater.createView(LayoutInflater.java:586)
02-25 11:41:29.047: E/AndroidRuntime(535):	... 25 more
02-25 11:41:29.047: E/AndroidRuntime(535): Caused by: android.content.res.Resources$NotFoundException: Resource is not a ColorStateList (color or path): TypedValue{t=0x2/d=0x7f010022 a=-1}
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.content.res.Resources.loadColorStateList(Resources.java:2042)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.content.res.TypedArray.getColorStateList(TypedArray.java:342)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.widget.TextView.(TextView.java:774)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.widget.Button.(Button.java:108)
02-25 11:41:29.047: E/AndroidRuntime(535):	at android.widget.Button.(Button.java:104)
02-25 11:41:29.047: E/AndroidRuntime(535):	... 28 more