You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
WrapperWidget: create SkArea also for Views with custom draw() method
Previously we only handled custom onDraw() methods
This commit is contained in:
@@ -900,6 +900,9 @@ public class View implements Drawable.Callback {
|
||||
}
|
||||
|
||||
public void onDraw(Canvas canvas) {}
|
||||
public void draw(Canvas canvas) {
|
||||
onDraw(canvas);
|
||||
}
|
||||
|
||||
public View(Context context) {
|
||||
this(context, null);
|
||||
|
||||
Reference in New Issue
Block a user