0

Design of Drawerlayout is not displaying in preview of android studio 3.0.1

And Same issue also with recycleview, NavigationView, android.support.v7.widget.Toolbar.

See Screenshot

In Gradle I have Used :

compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile 'com.android.support:cardview-v7:23.3.0'

compileSdkVersion 23
buildToolsVersion '26.0.2'

minSdkVersion 16
targetSdkVersion 23
versionCode 32
versionName "3.8(Indevelopemnt)"

I already tried Clean, Rebuild, Invalidate Caches/Restart.

Please Help me out. Thanks in advance.

Screenshot of preview of drawerlayout

sandeep kolhal
  • 393
  • 1
  • 4
  • 14

1 Answers1

0

you need to update your libraries to last version(or nearly last):

compile 'com.android.support:appcompat-v7:27.0.2'
compile 'com.android.support:support-v4:27.0.2'
compile 'com.android.support:design:27.0.2'

and compileSdk:

compileSdkVersion 27
no_fate
  • 1,625
  • 14
  • 22