Reputation: 67
I want to apply shadow border only UI of the textview at bottom not for text only.
Is it possible? please suggest me.
Upvotes: 2
Views: 1386
Reputation: 6114
Try:
t.setShadowLayer(1, 0, 0, Color.BLACK);
Or perhaps this in your layout XML:
`<TextView
android:layout_width="fill_parent"
android:shadowRadius="2"
android:shadowColor="#0000ff"
android:shadowDx="2"
android:shadowDy="4"
android:id="@+id/EditText01"
android:layout_height="wrap_content" />`
Upvotes: 3