I have placed the size tag in the shape of the drawable and I have not achieved the desired effect. <shape android:shape="rectangle"> <solid android:color="@color/orange"/> <!-- <stroke android:width="1dp" android:color="@color/orange"/>--> <corners android:radius="20dp" /> <size android:height="60dp"/> </shape>