Make a view with rectangle shape using xml definitions (drawable) in Android -
https://drive.google.com/file/d/0b0vp0ppnf8g3mfdbrmf5wkjez3c/view?usp=sharing
i want create shape above. how create using xml?
<?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item android:right="-100dp"> <rotate android:fromdegrees="-5" android:pivotx="0%" android:pivoty="100%"> <shape android:shape="rectangle"> <solid android:color="#f9c" /> </shape> </rotate> </item> </layer-list>
Comments
Post a Comment