Will the 1.0 SDK support gradient text?  By that I mean the equivalent
of creating my own component and implementing an onDraw method like
this, but also getting the text alignment, padding, etc that the
TextView already gives you?


    private Paint mTextPaint = null;

    ...

    LinearGradient lg = new LinearGradient(0, 0, 0, 40, new int[]
{ 0xFF000000, 0xFFFFFFFF }, null, TileMode.CLAMP);
    mTextPaint.setShader(lg);
    canvas.drawText("GRADIENT TEXT", 0, 20, mTextPaint);

--~--~---------~--~----~------------~-------~--~----~
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]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to