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.scrollBy()
This commit is contained in:
@@ -2192,4 +2192,8 @@ public class View implements Drawable.Callback {
|
|||||||
public void restoreHierarchyState(SparseArray<Parcelable> container) {}
|
public void restoreHierarchyState(SparseArray<Parcelable> container) {}
|
||||||
|
|
||||||
public boolean isHovered() { return false; }
|
public boolean isHovered() { return false; }
|
||||||
|
|
||||||
|
public void scrollBy(int x, int y) {
|
||||||
|
scrollTo(scrollX + x, scrollY + y);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user