I started a project where I was using Android Studio 3.1.2 with 27.1.1 support libraries I decided to upgrade my app so that it targets API 28 (Android P). For that I updated Android Studio, from version 3.1.2 to version 3.4.1 (the most recent), my gradle to version 3.4.2, (gradle 5) and the support libraries from version 27.1.1 to version 28.0.0
The problem I have is that the recyclerview that was in my project (version 28.0.0 now) is no longer displayed in the Android Studio preview. When I create a new Android project, the recyclerview 28.0.0. are displayed. The recyclerview has a display problem only in my old project. I saw in the forums, it was advisable to downgrade from 28.0.0. to 27.x.x but it would force me to downgrade the target SDK version from 28 to 27, which I don't want.
Please someone have a solution to this problem?