Android layout preview doesn't show CoordinatorLayout whereas Android Studio does for the same xml files

Until now I've been editing my Xamarin.Android xml layouts in Android Studio. I had a `resources` folder symlinked to the Android Studio project so that each change in resources was immediately available in Xamarin solution.

In order to edit layouts seamlessly I had to add all the necessary dependencies in gradle etc. but all in all everything worked pretty well.

Recently, I switched again to Rider to check up on latest changes. I am more than happy to see fully working Android layout designer.

However, there are some issues with e.g. `android.support.design.widget.CoordinatorLayout` that is not rendered inside Xamarin solution in Rider. Please take a look at the attached screenshot.

On the bottom left you can see Android Studio with a fragment layout where CoordinatorLayout contents are rendered properly. On the right top there's the same file opened in Rider. Unfortuantely `android.support.design.widget.CoordinatorLayout` is not rendered correctly.

Is there any way to show layout correctly in such cases? I would be more than happy to use just one IDE in my workflow.

2 comments
Comment actions Permalink

Am also experiencing this in Rider 2020.1.1. Not only do XML elements from outside the core Xamarin.Android library not render in the preview, code completion doesn't work for them or anything nested inside.

0
Comment actions Permalink

Hello,

Thank you for reporting the issue, I have created a corresponding record on our tracker: RIDER-44901, please upvote and watch for monitoring the progress. Please accept our apologies for the inconvenience.

0

Please sign in to leave a comment.