Home  >  Q&A  >  body text

android - Material Design中阴影如何向上投影?

Material Design中阴影如何向上投影?就像SegmengFault移动端app的底部导航栏一样。

天蓬老师天蓬老师2763 days ago1063

reply all(3)I'll reply

  • 怪我咯

    怪我咯2017-04-18 09:15:57

    Set the elevation property of the control

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-04-18 09:15:57

    Just add a gray image with a translucent upper edge on the bottom.

    reply
    0
  • 高洛峰

    高洛峰2017-04-18 09:15:57

    Google has introduced shadows in material design, which can be set through android:elevation="2dp";
    You can view the documentation at https://developer.android.goo...

    reply
    0
  • Cancelreply