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: stubs and fixes for latest WhatsApp version
This commit is contained in:
committed by
Julian Winkler
parent
09a38f9a28
commit
c81442321e
@@ -2100,4 +2100,16 @@ public class View implements Drawable.Callback {
|
||||
|
||||
public int getVerticalFadingEdgeLength() {return 0;}
|
||||
public int getVerticalScrollbarWidth() {return 0;}
|
||||
|
||||
public void saveAttributeDataForStyleable(Context ctxt, int[] styleable, AttributeSet attrs, TypedArray t, int defStyleAttr, int defStyleRes) {}
|
||||
|
||||
public final View requireViewById(int id) {
|
||||
View view = findViewById(id);
|
||||
if (view == null)
|
||||
throw new IllegalArgumentException("ID does not reference a View inside this View");
|
||||
return view;
|
||||
}
|
||||
public float getTransitionAlpha() {
|
||||
return 1.0f;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user