mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 20:27:58 +03:00

This is made possible, by adding a second Canvas implementation which can be used to render directly to GdkSnapshot objects For now the only implemented method is drawBitmap(), this is already enough to make VectorDrawableCompat functional
11 lines
216 B
Java
11 lines
216 B
Java
package android.graphics.drawable;
|
|
|
|
public class GradientDrawable extends Drawable {
|
|
|
|
public void setColor(int color) {}
|
|
|
|
public void setCornerRadius(float cornerRadius) {}
|
|
|
|
public void setShape(int shape) {}
|
|
|
|
}
|