Android Studio Designer could not find class -


i facing strange issue.

i using this library in order add material design elements such float buttons.

all working well, suddendly android studio designer started warn me com.gc.materialdesign.view.buttonfloat not found :

enter image description here

when change buttonflat, designer asks change buttonfloat, etc.

the strange thing in xml, class known , there no error.

enter image description here

additionnaly, buttons showing in emulator :

enter image description here

the problematic piece of code following :

<com.gc.materialdesign.views.buttonfloat     android:id="@+id/buttonfloattakepicture"     android:layout_width="wrap_content"     android:layout_height="wrap_content"     android:layout_alignparentend="true"     android:layout_marginend="20dp"     android:layout_margintop="50dp"     materialdesign:animate="true"     materialdesign:icondrawable="@mipmap/ic_photo"     android:onclick="takephoto" /> 

my build.gradle module :

repositories {     jcenter() }  apply plugin: 'com.android.application'  android {     compilesdkversion 22     buildtoolsversion '22.0.1'     defaultconfig {         minsdkversion 21         targetsdkversion 22     } }  dependencies {     compile 'com.github.navasmdc:materialdesign:1.+@aar'     compile 'com.nineoldandroids:library:2.4.+'     compile 'com.android.support:appcompat-v7:22.1.1'     compile 'com.android.support:recyclerview-v7:22.1.1'     compile 'com.nineoldandroids:library:2.4.+'     compile 'com.soundcloud.android:android-crop:0.9.10@aar' } 

this annoying. tried clean , build project several times. have idea ? thank in advance.

sometimes android studio cannot display custom layout tag. @ time, need close project , close android studio well. then, reopen again. works me.


Comments

Popular posts from this blog

apache - PHP Soap issue while content length is larger -

asynchronous - Python asyncio task got bad yield -

javascript - Complete OpenIDConnect auth when requesting via Ajax -