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. 使用边界半径和箱阴影在一起(CSS)
- 2. IE11 - 边界半径和箱阴影一起导致问题
- 3. Chrome中的箱形阴影和边框半径错误
- 4. UIVIew角半径和阴影?
- 5. 带有复杂箱体阴影的倒置边框半径
- 6. 移除拐角半径处的阴影/边界线iOS
- 7. IE8边界半径
- 8. CSS边界半径
- 9. 边界半径Nativescript
- 10. ie9边界半径
- 11. 边界半径CSS
- 12. CSS边界半径
- 13. SWIFT与角半径和阴影UITableViewCell
- 14. 红色边框和箱阴影问题
- 15. CSS边框RADIUS,这是使用正确的样式?边界半径? -webkit-边界半径? -moz-边界半径?
- 16. UITableView滞后由于阴影和边界
- 17. 无边界窗口带阴影和blurbehind
- 18. 图像边界半径
- 19. 问题与边界半径
- 20. 边界半径不铬
- 21. 边界半径 - 当部署
- 22. 边界半径不工作
- 23. 边界半径问题CSS
- 24. Safari边界半径bug
- 25. HTML表colgroup边界半径
- 26. 的Internet Explorer 9和边界半径
- 27. 带有阴影和角半径的UITableView(附带电影示例)
- 28. IE11 /边车箱阴影渲染
- 29. 箱阴影和背景
- 30. Android和箱阴影财产
谢谢你,箱子的影子呢? –
尝试使用'android:海拔' – Ibrahim
thx,但evelation不在中心正好 –