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
LinearLayout: set GtkBox to homogeneous if all child weights are equal
Real weighted allocation is not supported by GtkBox
This commit is contained in:
@@ -54,7 +54,7 @@ public class ViewGroup extends View implements ViewParent, ViewManager {
|
||||
addView(child, params);
|
||||
}
|
||||
|
||||
private void addViewInternal(View child, int index, LayoutParams params) {
|
||||
protected void addViewInternal(View child, int index, LayoutParams params) {
|
||||
if (child.parent == this)
|
||||
return;
|
||||
if (!checkLayoutParams(params)) {
|
||||
|
||||
Reference in New Issue
Block a user