I am trying to draw the blue shape below. I want my dialog to have this custom blue shape. But I can not figure out. I have tried the below code.
I really appreciate your tips, Thanks
<item>
<rotate
android:fromDegrees="0"
android:pivotX="50%"
android:pivotY="50%"
android:toDegrees="0">
<shape android:shape="rectangle">
<solid android:color="@color/red_color" />
</shape>
</rotate>
</item>
<item>
<rotate
android:fromDegrees="-10"
android:pivotX="50%"
android:pivotY="50%"
android:toDegrees="-10">
<shape android:shape="rectangle">
<solid android:color="@color/gray_color" />
</shape>
</rotate>
</item>
Aucun commentaire:
Enregistrer un commentaire