I would like to create the same border of this LinearLayout as the example :
In this example, we can see that the border is not the same all around the linearLayout. How can I create this using an XML drawable file?
For now, I have only able to create a simple border all around the LinearLayout like this :
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
<corners
android:radius="1dp"
android:topRightRadius="0dp"
android:bottomRightRadius="0dp"
android:bottomLeftRadius="0dp" />
<stroke
android:width="1dp"
android:color="#E3E3E1" />
<solid android:color="@color/blanc" />
</shape>
background
property for that...create one XML file with shape like rectangle, color and shadow effect for it and set it as background for your linear layout.. – Lusatia