override with

@Override
        public void onOffsetsChanged(float xOffset, float yOffset, float 
xStep, float yStep, int xPixels, int yPixels) {
        Log.i(LOG_TAG,"OffsetsChanged");
        mOffset = xOffset;
            Log.i(LOG_TAG,"Offset: "+mOffset);
            drawFrame();
        }

and then when you draw frame 
c.drawText("Text is just an example you can draw whatever you want here", 
(float) (xLoc+((0.5-mOffset)*mCenterX*2)), yLoc, mPaint);

hope this helps

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to