Mam następujące xml dla GradientDrawable. Jak programowo zmienić kąt?Programowo zmienny kąt nachylenia GradientDrawable
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<gradient android:type="linear"
android:angle="45"
android:startColor="#FF0000"
android:endColor="#00FF00" />
</shape>
GradientDrawable ma setOrientation (orientacja GradientDrawable.Orientation) Ja nie wiem, czy to własnych potrzeb? –