Android Question How to create sub property within HasLogo in Xui CustomView

Theera

Well-Known Member
Licensed User
Longtime User
Refer to this ,How we create Logo under sub of HasLogo. If HasLogo is True then Logo is visibled (actived) else Logo is unvisibled (no actived)
 

Theera

Well-Known Member
Licensed User
Longtime User
I think you didn't run my example project. The answer is there.
I've run your app, but your app can't change icon image.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
I've run your app, but your app can't change icon image.
Hope the following project can help you understand better.
You can unzip the b4xlib to see.
If you want to check the original source project how I developed the b4xlib, you can check on my GitHub link inside this post.

See, not much lines of code. It is not that difficult to change the icon.
Just prepare some transparent PNG files, example with size 200x200 and the logo is centered with size 40x40 to 60x60 pixels.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…