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 ViewGroup.detachViewFromParent(View)
This commit is contained in:
@@ -343,6 +343,10 @@ public class ViewGroup extends View implements ViewParent, ViewManager {
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void detachViewFromParent(View view) {
|
||||||
|
removeView(view);
|
||||||
|
}
|
||||||
|
|
||||||
public static class LayoutParams {
|
public static class LayoutParams {
|
||||||
public static final int FILL_PARENT = -1;
|
public static final int FILL_PARENT = -1;
|
||||||
public static final int MATCH_PARENT = -1;
|
public static final int MATCH_PARENT = -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user