mohamed agamy mohamed agamy - 2 months ago 16
Android Question

Rounded Borders for Android Layout

How to Make Rounded Corners and Shadow for the layout in android
any examples for help?
http://imgur.com/EecAwFX

Answer

Create rounde_corner.xml in your drawable folder and paste following into that

<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
    <solid android:color="@color/white"/>
    <corners android:radius="4dp"/>
</shape>

and apply that as background to your layout