mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-04-28 12:17:57 +03:00
implement View.scrollBy()
This commit is contained in:
parent
0c0af3d1be
commit
728c43f925
1 changed files with 4 additions and 0 deletions
|
@ -2192,4 +2192,8 @@ public class View implements Drawable.Callback {
|
|||
public void restoreHierarchyState(SparseArray<Parcelable> container) {}
|
||||
|
||||
public boolean isHovered() { return false; }
|
||||
|
||||
public void scrollBy(int x, int y) {
|
||||
scrollTo(scrollX + x, scrollY + y);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue