我有跟随GradientDrawable的xml.如何以编程方式更改角度?
<shape xmlns:android="http://schemas.android.com/apk/res/android"> <gradient android:type="linear" android:angle="45" android:startColor="#FF0000" android:endColor="#00FF00" /> </shape>