Height and width in designer properties

Is it possible to get the look of the setter Hight and Width in the extension to look the same as in the built-in components?
@DesignerProperty(editorType = PropertyTypeConstants.???)

I don't see it anywhere, so I guess Designer automatically adds this property to AndroidVisibleComponents?


No, it's not the same. It's about Popup when you click the Width or Height property. I know you can do it this way, but wanting to add "fill_parent", "pixels" and "percentage" for height and width makes for a long list of properties in the designer. That's why I think the original type property for height and width should be available for extensions as well.

Extensions are invisibleComponent, so there is no Heigth/Width property.

I think you're looking for PROPERTY_TYPE_LENGTH, e.g.: