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
add some stubs needed because of previous commits
Since we now call draw() on View subclasses, we reach some new codepaths which need new stubs
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package android.text;
|
||||
|
||||
import android.graphics.Canvas;
|
||||
|
||||
public class Layout {
|
||||
|
||||
public enum Alignment {
|
||||
@@ -23,4 +25,6 @@ public class Layout {
|
||||
public int getWidth() {return 10;}
|
||||
|
||||
public int getHeight() {return 10;}
|
||||
|
||||
public void draw(Canvas canvas) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user