Android Question How to code #SubDesignerProperty in the CustomView

Theera

Expert
Licensed User
Longtime User
I would like to create the sub of #DesignerProperty,but I can't find it how to code like attached image.
I hope someone helps me this. If Parent of DesignerProperty is true,the Child of DesignerProperty is visibled
 

Attachments

  • SubDesignerProperty.PNG
    1.7 KB · Views: 47

Sagenut

Expert
Licensed User
Longtime User
I think that this option is not available.
You can only add options under Custom.
But let's wait for someone with more knowledge about this.
 
Upvote 0

Theera

Expert
Licensed User
Longtime User
Sorry, but i do not understand what exactly you want to do.
Hi Klaus,
I'm interested in infra struture of B4X coding and creating customview button is one of mine. I've started learning Erel's SwiftButton about changing the font,textsize and textcolor properties,and changing Backgroud color of button. Now,I would like to study about animation of button,I found the trick of css button. I would like to learned,
but I still not get understand. Is there is some tutorial,or not?
 
Upvote 0

LucaMs

Expert
Licensed User
Longtime User
Klaus was obviously referring to your question in this thread.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
Upvote 0

Sagenut

Expert
Licensed User
Longtime User
I think @Theera was asking if it's possible to create expandable block of options like the Drawable.
 
Upvote 0

Theera

Expert
Licensed User
Longtime User
I think @Theera was asking if it's possible to create expandable block of options like the Drawable.
I means that I can create like this
B4X:
#DesignerProperty: Key: HasAnimation, DisplayName: Has Animation, FieldType: Boolean, DefaultValue: True

#SubDesignerProperty: Key: AnimationType, DisplayName: Animation Type, FieldType: String, DefaultValue: fade, List: fade|slide|scale|rotate '<= If HasAnimation=True  then AnimationType is enabled
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…