Android Question Related to the Visual Designer

TLD

Member
Licensed User
In the Designer Properties Option How can i add a Custom Properties?
In the image-1
image-1.png


there is option to add a Properties to the View but in my case there is no option is available(check image-2.png)
image-2.png
... I used the MSCarView and i want to implement the MaxElevation, Elevation, Radius, setPadding on the CardView in the Designer
 

DonManfred

Expert
Licensed User
Longtime User
I used the MSCarView and i want to implement the MaxElevation, Elevation, Radius, setPadding on the CardView in the Designer
additional properties must be declared in the java-library to be listed here

Additional it will only work with libs made for B4A 5.8+
 
  • Like
Reactions: TLD
Upvote 0

TLD

Member
Licensed User
additional properties must be declared in the java-library to be listed here

Additional it will only work with libs made for B4A 5.8+
oky i got it Sir and one more thing sir please check the image -2, Views tree panel and it's the correct way to declare a image in cardView or i m doing something wrong?
And secound thing if i am doing right so how can i declare these properties to the cardView
Please help me
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I dont know. I´m not familar with this lib (never used it), sorry
how can i declare these properties to the cardView
Ask the libs author to update the lib. Or to get the sourcecode from the lib and then you can extend it.

Without the source of the lib you are not able to do
 
  • Like
Reactions: TLD
Upvote 0

TLD

Member
Licensed User
I dont know. I´m not familar with this lib (never used it), sorry

Ask the libs author to update the lib. Or to get the sourcecode from the lib and then you can extend it.

Without the source of the lib you are not able to do

So is there any another library is der to create a cardView easily?
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Note that you can also add properties to custom views created with B4A

in this case the TO asked how to add them to an available library

I used the MSCarView and i want to implement the MaxElevation, Elevation, Radius, setPadding on the CardView in the Designer
 
Upvote 0

TLD

Member
Licensed User
additional properties must be declared in the java-library to be listed here
This is a basic Question... Actually i have a knowledge of Android Studio and in the Studio if we define any button/Edittext or any thing in XML Layout we have to provide a unique id which can be used in the java code....
But in the B4a if i define a panel or label so how can i used in the .bas file because i don't think there is any id feaure is there so in .bas file how can i define the action on the panel/label

Note:I read the guide.pdf but i think in the whole docs there is no point who clear my question or maybe i miss it
 
Last edited:
Upvote 0
Top