Android Question Help Needed - Custom View Creation with code on github

paragkini

Member
Licensed User
Longtime User
Hi,
I want to use a custom view in link given below. How can I convert it to be used in Basic4android (I have gone through custom view tutorial but cudnt understand. I am not a Java guy) or can I use it directly in my application.

https://github.com/hanspeide/anytextview

My understanding of avaialble options:
1. It will need a wraper to be written around it to be used in B4a.
2. B4a v 3.80 support direct XML layouts.
3. Call the JAR directly in to B4a.

Separately, I got above view in one of the free application given below. There are lot of controls for all the views. My B4a friends wanting (and knowing how to use them) will benefit from it.
Link the application:

https://play.google.com/store/apps/details?id=com.desarrollodroide.repos

Please help.
 

paragkini

Member
Licensed User
Longtime User
Hi Erel,
My bad. Actually the control I wated is different than what is mentioned in the link. I think the application has given wrong source code URL. I am attaching the image of the control which I want to use. Anyway, I have sent them a mail for correct source code URL.
 

Attachments

  • ProgressPieView.png
    ProgressPieView.png
    82.1 KB · Views: 203
Upvote 0

thedesolatesoul

Expert
Licensed User
Longtime User
I want to use a custom view in link given below. How can I convert it to be used in Basic4android (I have gone through custom view tutorial but cudnt understand. I am not a Java guy) or can I use it directly in my application.
Customviews can be easily made in B4A classes just by mimicing most of the behaviour.
Sometimes wrapping a view (especially a small one), takes the same effort as writing one in B4A.
 
Upvote 0
Top