Hey,
I've downloaded your sample project today.
Running on a
there is no crash.
Different with these devices (Device | Android Version):
If I open the drop-in UI view and click on the map for route calculation everything is fine. But if I press for e.g. "Launch navigation with route"-button the app crashes
09-21 16:03:50.440 11520-11520/com.mapbox.services.android.navigation.testapp W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x40e92a08)
09-21 16:03:50.495 11520-11520/com.mapbox.services.android.navigation.testapp E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.services.android.navigation.testapp/com.mapbox.services.android.navigation.ui.v5.NavigationView}: android.view.InflateException: Binary XML file line #19: Error inflating class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2463)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2520)
at android.app.ActivityThread.access$600(ActivityThread.java:162)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:158)
at android.app.ActivityThread.main(ActivityThread.java:5751)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1083)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #19: Error inflating class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at com.mapbox.services.android.navigation.ui.v5.NavigationView.onCreate(NavigationView.java:109)
at android.app.Activity.performCreate(Activity.java:5165)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1103)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2419)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2520)聽
at android.app.ActivityThread.access$600(ActivityThread.java:162)聽
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366)聽
at android.os.Handler.dispatchMessage(Handler.java:99)聽
at android.os.Looper.loop(Looper.java:158)聽
at android.app.ActivityThread.main(ActivityThread.java:5751)聽
at java.lang.reflect.Method.invokeNative(Native Method)聽
at java.lang.reflect.Method.invoke(Method.java:511)聽
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1083)聽
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:850)聽
at dalvik.system.NativeStart.main(Native Method)聽
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)聽
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)聽
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)聽
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)聽
at com.mapbox.services.android.navigation.ui.v5.NavigationView.onCreate(NavigationView.java:109)聽
at android.app.Activity.performCreate(Activity.java:5165)聽
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1103)聽
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2419)聽
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2520)聽
at android.app.ActivityThread.access$600(ActivityThread.java:162)聽
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366)聽
@P-Zenker I'll look into this - looks like it's related to API 19
Had a quick glance yesterday. Pretty sure it's related to VectorDrawables, need to use vectordrawablecompat for < 21. Having some issues in my navigation project as well.
Looks like using custom attributes using?attr/ to set the theme colors won't fly below API 21.
Going to have to work on a fix to set the colors at runtime. We are going to let users of the drop-in UI set custom colors to style the Views.
You're probably right.
Another stacktrace with the example app from master
Sony V | 4.1.2
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/instruction_background.xml from drawable resource ID #0x7f0200c1
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mapbox.services.android.navigation.testapp/com.mapbox.services.android.navigation.ui.v5.NavigationView}: android.view.InflateException: Binary XML file line #19: Error inflating class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2071)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2096)
at android.app.ActivityThread.access$600(ActivityThread.java:138)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1207)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:213)
at android.app.ActivityThread.main(ActivityThread.java:4787)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:809)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:576)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #19: Error inflating class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at com.mapbox.services.android.navigation.ui.v5.NavigationView.onCreate(NavigationView.java:109)
at android.app.Activity.performCreate(Activity.java:5008)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2035)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
... 22 more
Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:807)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.view.View.inflate(View.java:16295)
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.init(InstructionView.java:181)
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.<init>(InstructionView.java:84)
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.<init>(InstructionView.java:79)
... 25 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
... 35 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/instruction_background.xml from drawable resource ID #0x7f0200c1
at android.content.res.Resources.loadDrawable(Resources.java:1923)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.<init>(View.java:3373)
at android.view.View.<init>(View.ja
@davols @danesfeder I'm Also Getting This Same Error On Android 4.1.2 - With The Same LogCat Shown Above.
@Danny-James @davols @P-Zenker Keep an eye out for a PR to fix this later this week
Thank You @danesfeder!
@danesfeder Same issue when trying to drop an InstructionView into a custom navigation activity.
I went through the various layout files included in instruction_view_layout.xml and deleted all the lines that included ?attr/ just to see if my project would build. It did once I removed all of those lines.
For example, I removed the following lines from sound_layout.xml:
android:backgroundTint="?attr/navigationViewPrimary"
android:tint="?attr/navigationViewSecondary"
Everything builds if I remove all lines like that.
Just FYI, I'm using the latest Android everything.
@johnwallco Yeah those custom attributes are only supported API 21 and above - removing them should get rid of the inflation exception in API 19
Any News On A Fix @danesfeder I'm Currently Using.
// Mapbox Maps SDK
compile('com.mapbox.mapboxsdk:mapbox-android-sdk:5.1.3@aar') {
transitive=true
}
compile 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.7.0-SNAPSHOT'
compile 'com.mapbox.mapboxsdk:mapbox-android-navigation-ui:0.7.0-SNAPSHOT'
compile 'com.mapbox.mapboxsdk:mapbox-android-plugin-locationlayer:0.1.0'
compile 'com.mapbox.mapboxsdk:mapbox-android-plugin-traffic:0.3.0'
@Danny-James Keep an eye on https://github.com/mapbox/mapbox-navigation-android/pull/286 the fix will be included there
@danesfeder Take a Look At My LogCat Below On My Android 4.1.2 - May Be Useful When Fixing The Problem
```
10-02 15:22:52.668 631-2065/? I/ActivityManager: START u0 {cmp=uk.co.ainscough.routeinfo/com.mapbox.services.android.navigation.ui.v5.NavigationView (has extras)} from pid 23534
10-02 15:22:52.688 23534-23534/uk.co.ainscough.routeinfo W/dalvikvm: VFY: unable to resolve virtual method 50629: Lcom/mapbox/services/android/navigation/v5/navigation/NavigationEngine;.quitSafely ()Z
10-02 15:22:52.928 23534-23534/uk.co.ainscough.routeinfo W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x41dff438)
10-02 15:22:52.958 23534-23534/uk.co.ainscough.routeinfo E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity ComponentInfo{uk.co.ainscough.routeinfo/com.mapbox.services.android.navigation.ui.v5.NavigationView}: android.view.InflateException: Binary XML file line #19: Error inflating class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2108)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2133)
at android.app.ActivityThread.access$600(ActivityThread.java:142)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4895)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #19: Error inflating class com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)
at com.mapbox.services.android.navigation.ui.v5.NavigationView.onCreate(NavigationView.java:109)
at android.app.Activity.performCreate(Activity.java:5042)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1082)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2072)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2133)聽
at android.app.ActivityThread.access$600(ActivityThread.java:142)聽
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)聽
at android.os.Handler.dispatchMessage(Handler.java:99)聽
at android.os.Looper.loop(Looper.java:137)聽
at android.app.ActivityThread.main(ActivityThread.java:4895)聽
at java.lang.reflect.Method.invokeNative(Native Method)聽
at java.lang.reflect.Method.invoke(Method.java:511)聽
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)聽
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)聽
at dalvik.system.NativeStart.main(Native Method)聽
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)聽
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)聽
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)聽
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)聽
at com.mapbox.services.android.navigation.ui.v5.NavigationView.onCreate(NavigationView.java:109)聽
at android.app.Activity.performCreate(Activity.java:5042)聽
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1082)聽
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2072)聽
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2133)聽
at android.app.ActivityThread.access$600(ActivityThread.java:142)聽
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)聽
at android.os.Handler.dispatchMessage(Handler.java:99)聽
at android.os.Looper.loop(Looper.java:137)聽
at android.app.ActivityThread.main(ActivityThread.java:4895)聽
at java.lang.reflect.Method.invokeNative(Native Method)聽
at java.lang.reflect.Method.invoke(Method.java:511)聽
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)聽
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)聽
at dalvik.system.NativeStart.main(Native Method)聽
Caused by: android.view.InflateException: Binary XML file line #2: Error inflating class android.support.constraint.ConstraintLayout
at android.view.LayoutInflater.createView(LayoutInflater.java:613)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:807)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
at android.view.View.inflate(View.java:16119)
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.init(InstructionView.java:181)
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.
at java.lang.reflect.Constructor.constructNative(Native Method)聽
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)聽
at android.view.LayoutInflater.createView(LayoutInflater.java:587)聽
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)聽
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)聽
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)聽
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)聽
at com.mapbox.services.android.navigation.ui.v5.NavigationView.onCreate(NavigationView.java:109)聽
at android.app.Activity.performCreate(Activity.java:5042)聽
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1082)聽
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2072)聽
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2133)聽
at android.app.ActivityThread.access$600(ActivityThread.java:142)聽
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)聽
at android.os.Handler.dispatchMessage(Handler.java:99)聽
at android.os.Looper.loop(Looper.java:137)聽
at android.app.ActivityThread.main(ActivityThread.java:4895)聽
at java.lang.reflect.Method.invokeNative(Native Method)聽
at java.lang.reflect.Method.invoke(Method.java:511)聽
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)聽
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)聽
at dalvik.system.NativeStart.main(Native Method)聽
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
at android.view.LayoutInflater.createView(LayoutInflater.java:587)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)聽
at android.view.LayoutInflater.parseInclude(LayoutInflater.java:807)聽
at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)聽
at android.view.View.inflate(View.java:16119)聽
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.init(InstructionView.java:181)聽
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.
at com.mapbox.services.android.navigation.ui.v5.instruction.InstructionView.
at java.lang.reflect.Constructor.constructNative(Native Method)聽
at java.lang.reflect.Constructor.newInstance(Constructor.java:417)聽
at android.view.LayoutInflater.createView(LayoutInflater.java:587)聽
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:687)聽
at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:489)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:396)聽
at android.view.LayoutInflater.inflate(LayoutInflater.java:352)聽
at android.support.v7.app.AppCompatDelegateImplV9.setContentView(AppCompatDelegateImplV9.java:287)聽
at android.support.v7.app.AppCompatActivity.setContentView(AppCompatActivity.java:139)聽
at com.mapbox.services.android.navigation.ui.v5.NavigationView.onCreate(NavigationView.java:109)聽
at android.app.Activity.performCreate(Activity.java:5042)聽
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1082)聽
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2072)聽
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2133)聽
at android.app.ActivityThread.access$600(ActivityThread.java:142)聽
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)聽
at android.os.Handler.dispatchMessage(Handler.java:99)聽
at android.os.Looper.loop(Looper.java:137)聽
at android.app.ActivityThread.main(ActivityThread.java:4895)聽
at java.lang.reflect.Method.invokeNative(Native Method)聽
at java.lang.reflect.Method.invoke(Method.java:511)聽
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)聽
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)聽
at dalvik.system.NativeStart.main(Native Method)聽
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/instruction_background.xml from drawable resource ID #0x7f0200e9
at android.content.res.Resources.loadDrawable(Resources.java:1918)
at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
at android.view.View.
at android.view.View.<
10-02 15:22:52.968 631-631/? W/ActivityManager: Force finishing activity uk.co.ainscough.routeinfo/com.mapbox.services.android.navigation.ui.v5.NavigationView
````
I think I narrowed this down to ?attr/ being used in custom drawables we are using for the backgrounds in some views (like InstructionView).
Setting the colors to a hardcoded value eliminates the crash. Working on a solution that still allows custom themes.
Running on 4.4.2 with custom attributes removed from Drawables an hardcoded to grey

Great work @danesfeder, So will this just be hard coded to white?
@Danny-James Thanks and no, I'm going to try to set the color of the drawables programmatically so you can still customize the theme (currently being worked in #286). This will eliminate the custom attribute tags in the drawable XML
Great, I Look Forward To This Being Released.
Many Thanks For Looking Into A Fix For This.
This has been fixed for a while - was related to using custom attributes to color drawables
Most helpful comment
Looks like using custom attributes using
?attr/to set the theme colors won't fly below API 21.Going to have to work on a fix to set the colors at runtime. We are going to let users of the drop-in UI set custom colors to style the Views.