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
api-impl/android/view/View: add getDisplay
This commit is contained in:
@@ -1320,4 +1320,8 @@ public class View extends Object {
|
|||||||
rect.right = getScrollX() + getWidth();
|
rect.right = getScrollX() + getWidth();
|
||||||
rect.bottom = getScrollY() + getHeight();
|
rect.bottom = getScrollY() + getHeight();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Display getDisplay() {
|
||||||
|
return new Display();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user