Which drawable definition allows you to achieve the shape below? (Duplicate 2)

Advertisement

  • 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″/>
    </rectangle>
  • xml
    <shape xmlns:android-“http://schemas.android.com/apk/res/android”
    android:shape-“rectangle”>
    <gradient
    android:startColor-“@android:color/white”
    android:endColor-“@android:color/black”
    android:angle-“135″/>
    </shape>
  • xml
    <shape xmlns:android-“http://schemas.android.com/apk/res/android”
    android:shape-“rectangle”>
    <gradient
    android:startColor-“@android:color/white”
    android:endColor-“@android:color/black”
    android:angle-“98″/>
    </shape>
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Leave a Comment

Share via
Join our list

Subscribe to our mailing list and get interesting stuff and updates to your email inbox.

Thank you for subscribing.

Something went wrong.

Send this to a friend