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
api-impl: add GridView stub, AnimationSet stub and misc stubs
This commit is contained in:
5
src/api-impl/android/view/AnimationSet.java
Normal file
5
src/api-impl/android/view/AnimationSet.java
Normal file
@@ -0,0 +1,5 @@
|
||||
package android.view;
|
||||
|
||||
public class AnimationSet {
|
||||
|
||||
}
|
||||
@@ -3,6 +3,7 @@ package android.widget;
|
||||
import android.content.Context;
|
||||
import android.database.DataSetObserver;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.ViewGroup;
|
||||
|
||||
public abstract class AbsListView extends AdapterView {
|
||||
|
||||
@@ -76,4 +77,7 @@ public abstract class AbsListView extends AdapterView {
|
||||
}
|
||||
}
|
||||
|
||||
public class LayoutParams extends ViewGroup.LayoutParams {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
14
src/api-impl/android/widget/GridView.java
Normal file
14
src/api-impl/android/widget/GridView.java
Normal file
@@ -0,0 +1,14 @@
|
||||
package android.widget;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
|
||||
public class GridView extends AbsListView {
|
||||
public GridView(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public GridView(Context context, AttributeSet attributeSet) {
|
||||
super(context, attributeSet);
|
||||
}
|
||||
}
|
||||
@@ -38,4 +38,6 @@ public class ListView extends AbsListView {
|
||||
}
|
||||
|
||||
public void setDivider(Drawable drawable) {}
|
||||
|
||||
public void setSelectionFromTop(int position, int y) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user