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
implement View.getHitRect()
This commit is contained in:
@@ -1064,7 +1064,9 @@ public class View implements Drawable.Callback {
|
||||
setBackgroundDrawable(getResources().getDrawable(resid));
|
||||
}
|
||||
|
||||
public void getHitRect(Rect outRect) {}
|
||||
public void getHitRect(Rect outRect) {
|
||||
outRect.set(left, top, right, bottom);
|
||||
}
|
||||
public final boolean getLocalVisibleRect(Rect r) { return false; }
|
||||
|
||||
public final int getScrollX() {
|
||||
|
||||
Reference in New Issue
Block a user