0
A
回答
1
的角落,你必须使用drawable
象下面这样:
<shape
xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle"
>
<!-- view border color and width -->
<stroke
android:width="1dip"
android:color="#a4a2a2" >
</stroke>
<corners android:radius="180px">
</corners>
<!-- Here is the corner radius -->
约阴影
我想你的意思android:elevation="8dp"
<Yourbox
android:width="match_parent"
android:height="match_parent"
....
android:elevation="8dp"
android:layout_gravity="center"
..
/>
相关问题
- 1. ImageView上的边界半径和阴影
- 2. 使用边界半径和箱阴影在一起(CSS)
- 3. IE11 - 边界半径和箱阴影一起导致问题
- 4. 火狐不与正确渲染:边界半径,箱阴影和边界
- 5. 透明边界和箱阴影愁楚
- 6. CSS梯度箱阴影和边界
- 7. 箱阴影和边界渲染错误
- 8. Chrome中的箱形阴影和边框半径错误
- 9. 曲线效果带边框半径和箱形阴影
- 10. 箱阴影模糊半径使左,右阴影
- 11. UIVIew角半径和阴影?
- 12. 带有复杂箱体阴影的倒置边框半径
- 13. 移除拐角半径处的阴影/边界线iOS
- 14. 边界半径CSS
- 15. ems边界半径?
- 16. ie9边界半径
- 17. CSS边界半径
- 18. IE8边界半径
- 19. 边界半径Nativescript
- 20. CSS边界半径
- 21. SWIFT与角半径和阴影UITableViewCell
- 22. 红色边框和箱阴影问题
- 23. css3边框和箱子阴影效果
- 24. IOS:UIImageView的设置边框的白色半径和阴影
- 25. CSS边框RADIUS,这是使用正确的样式?边界半径? -webkit-边界半径? -moz-边界半径?
- 26. 阴影不工作“安卓”
- 27. UITableView滞后由于阴影和边界
- 28. 无边界窗口带阴影和blurbehind
- 29. CSS边界半径和-webkit-边界半径不工作在iOS 5的UIWebView
- 30. 边界半径和IE 7和IE8
谢谢你,箱子的影子呢? –
尝试使用'android:海拔' – Ibrahim
thx,但evelation不在中心正好 –