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
View: set visibility attribute from XML
This commit is contained in:
@@ -853,6 +853,9 @@ public class View extends Object {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (a.hasValue(com.android.internal.R.styleable.View_visibility)) {
|
||||
setVisibility(VISIBILITY_FLAGS[a.getInt(com.android.internal.R.styleable.View_visibility, 0)]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user