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
refactor source tree organization, switch to meson
This commit is contained in:
35
src/api-impl/android/widget/ScrollView.java
Normal file
35
src/api-impl/android/widget/ScrollView.java
Normal file
@@ -0,0 +1,35 @@
|
||||
package android.widget;
|
||||
|
||||
import android.util.AttributeSet;
|
||||
import android.content.Context;
|
||||
|
||||
import android.view.ViewGroup;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup.LayoutParams;
|
||||
|
||||
public class ScrollView extends ViewGroup {
|
||||
public ScrollView(AttributeSet attrs) {
|
||||
super(attrs);
|
||||
|
||||
native_constructor(attrs);
|
||||
}
|
||||
|
||||
public ScrollView(Context context) {
|
||||
super(context);
|
||||
|
||||
native_constructor(context);
|
||||
}
|
||||
|
||||
private native void native_constructor(AttributeSet attrs);
|
||||
private native void native_constructor(Context context);
|
||||
|
||||
@Override
|
||||
public native void addView(View child, int index, LayoutParams params);
|
||||
@Override
|
||||
public native void removeView(View view);
|
||||
@Override
|
||||
public native void removeAllViews();
|
||||
|
||||
protected void onScrollChanged(int x, int y, int oldx, int oldy) {}
|
||||
public void setFillViewport(boolean fillViewport) {}
|
||||
}
|
||||
Reference in New Issue
Block a user