0

As posted in https://stackoverflow.com/a/30931750, for Prelollipop, we could have shadow (elevation) for our button by setting the following.

android:background="@android:drawable/dialog_holo_light_frame"

However, if I need to add another color to my button background, how could I achieve that?

(Additional question, is there a way to control the elevation (depth of shadow) using this appraoch?)

Community
  • 1
  • 1
Elye
  • 53,639
  • 54
  • 212
  • 474

0 Answers0