Android button onClick unknown event issue -


when pressing button in devices it's showing `e/sensors: proximitysensor: unknown event (type=1, code=330, value=1), , here given code.

xml

<button         android:id="@+id/button_done"         android:layout_width="match_parent"         android:layout_height="wrap_content"         android:layout_alignparentbottom="true"         android:background="@drawable/button_clcik_efferct_blue_white_no_round"         android:text="done"         android:textcolor="@drawable/button_clcik_efferct_text_white_blue"         android:textstyle="bold"/> 

java

@bindview(r.id.button_done) button buttondone;  @onclick(r.id.button_done)     public void onclick(view view) {         switch (view.getid()) {             case r.id.button_done:                 try {                   preferencemanager.getinstance().setlocationname(localityname);                     } catch (exception e) {                     e.printstacktrace();                 }                 break;         }     } 


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -