How to hide GestureOverlayView stroke

by Mica » Thu, 02 Sep 2010 01:55:47 GMT

Sponsored Links
 I have a ListView with  GestureOverlayView, when user swipe left, it
mark the ListView Item. It is working perfectly. only thing I don't
like to see is when user swipe it display the yellow color stroke
line. Is there any way I can make it not to display the Stroke when
user perform gesture? Thanks in advance


How to hide GestureOverlayView stroke

by Mark Murphy » Thu, 02 Sep 2010 02:09:36 GMT

 I need to experiment with this tomorrow, but you should be able to use:


(and possibly the same for android:uncertainGestureColor)

Mark Murphy (a Commons Guy)  |  | 

Android App Developer Books: 


Sponsored Links

Other Threads

1. ContactManager sample app (api version 7) stopped unexpectedly : Need Help

Have you tried debugging it?

TreKing <> - Chicago
transit tracking app for Android-powered devices


2. GLThread, native code, and dialogs

Hi list !

I'm having this problem:

In my application, I use a GLSurfaceView for 3D rendering. The real
rendering is done by calling native methods, coded in C++.

Once in a while (upon user clicks on 3D scene objects) the native
rendering engine should be able to call Java methods (through JNI)
that display a dialog box.

I can't get it to work, that's driving me crazy.

Here is the native method:

void MyCPlusPlusClass::showDialog(const std::string& pMsg)
    jclass lClass = mJNIEnv->GetObjectClass(mActivity);
    if (!lClass)
        return false;
    jmethodID lMethId = mJNIEnv->GetMethodID(lClass,
"showMessageDialog", "(Ljava/lang/String;)V");
    if (!lMethId)
        return false;
    jstring lJavaString = mJNIEnv->NewStringUTF(pMessage.c_str());
    mJNIEnv->CallVoidMethod(mActivity, lMethId, lJavaString);

Then, the method showMessageDialog, coded in Java, in my activity:

public void showMessageDialog(String pMsg)
    Log.i("Vg", "Create dialog with message " + pMsg);
    Log.i("Vg", "Show dialog");
        new Runnable () {
            public void run () {
                AlertDialog.Builder lAlertBox = new
                TextView lTextView = new TextView(MyActivity.this);
                lAlertBox.setNeutralButton("Ok", MyActivity.this);

I thought this would work, but it doesn't. What am I doing wrong ?



3. Run Android 2.0.1 on HTC magic

4. Android Emulator without a Camera, != null ????

5. SipManager 2.3 SDK

6. Getting relative positions of elements in a grid view

7. how to build an unsigned application in the source code