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 missing APIs related to scrolling
This commit is contained in:
@@ -1291,6 +1291,7 @@ public class View extends Object {
|
||||
}
|
||||
|
||||
public void addOnLayoutChangeListener(OnLayoutChangeListener listener) {}
|
||||
public void removeOnLayoutChangeListener(OnLayoutChangeListener listener) {}
|
||||
|
||||
public boolean isSelected() {return false;}
|
||||
|
||||
@@ -1560,4 +1561,12 @@ public class View extends Object {
|
||||
protected int computeHorizontalScrollExtent() {
|
||||
return getWidth();
|
||||
}
|
||||
|
||||
protected int computeVerticalScrollRange() {
|
||||
return getHeight();
|
||||
}
|
||||
|
||||
protected int computeVerticalScrollExtent() {
|
||||
return getHeight();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user