I am trying to use the CoordinatorLayout from the new Android design library. I added the package to gradle; then I try to use the layout I get this error:
j
This is a known issue. It is open on the Android Open Source Project Issue Tracker:
https://code.google.com/p/android/issues/detail?id=175595
The workaround described by the Android project member is:
Workaround: Try rendering with M preview using AS v1.3 preview.
Another way to workaround this issue is to replace your android.support.design.widget.CoordinatorLayout
with a FrameLayout
when you want to edit it in the visual design editor, make your changes to the layout and then change it back to a CoordinatorLayout
when you are finished.