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
ViewGroup: make sure all child views have valid LayoutParams
This commit is contained in:
@@ -27,10 +27,6 @@ public class FrameLayout extends ViewGroup {
|
||||
@Override
|
||||
protected native void native_removeView(long widget, long child);
|
||||
|
||||
public void addView(View child, int index) {
|
||||
addView(child, index, null);
|
||||
}
|
||||
|
||||
@Override
|
||||
public LayoutParams generateLayoutParams(AttributeSet attrs) {
|
||||
return new LayoutParams(getContext(), attrs);
|
||||
|
||||
Reference in New Issue
Block a user