Back to project page ssniper-andengine.
The source code is released under:
Apache License
If you think the Android project ssniper-andengine listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.cladophora.ssniper; /* w w w . j a v a 2s.c o m*/ import android.content.Context; import android.graphics.Color; import android.view.View; import com.samsung.spen.lib.input.SPenEventLibrary; /** * Created by jmar on 12/28/13. */ public class SPenHoverView extends View { public SPenHoverView(final Context context) { super(context); this.setBackgroundColor(Color.TRANSPARENT); SPenEventLibrary mSPenEventLibrary = new SPenEventLibrary(); mSPenEventLibrary.setSPenHoverListener(this, HoverListener.getSharedInstance()); // Hide Hover Icon so that we can replace it with our own mSPenEventLibrary.setSPenHoverIcon(getContext(), this, SPenEventLibrary.HOVERING_SPENICON_HIDE); } }