Sunday, April 22, 2012

Shadow Effect for a Text in Android?


How can i make shadow effect text in a TextView .



Any Idea?


Source: Tips4all

2 comments:

  1. Perhaps you'd consider using android:shadowColor, android:shadowDx, android:shadowDy, android:shadowRadius; alternatively setShadowLayer() ?

    ReplyDelete
  2. TextView textv = (TextView) findViewById(R.id.textview1);
    textv.setShadowLayer(1, 0, 0, Color.BLACK);

    ReplyDelete