Category: Android Linkedin Answer

Which drawable definition allows you to achieve the shape below?

[ ] xml <shape xmlns:android-"http://schemas.android.com/apk/res/android" android:shape-"oval"> <gradient android:startColor-"@android:color/white" android:endColor-"@android:color/black" android:angle-"45"/> </shape> [ ] xml <rectangle xmlns:android-"http://schemas.android.com/apk/res/android"> <gradient android:startColor-"@android:color/white" android:endColor-"android:color/black" android:angle-"135"/>…