Android Question MaterialRangeBar crashes my app

rleiman

Well-Known Member
Licensed User
Longtime User
Hi Everyone,

Can you look at the enclosed tiny app and let me know why it crashes after a rangebar is added?

I originally added the rangebar on my existing app and it crashed as soon as the activity was loaded so I made this tiny app with just a panel and the rangebar.

I can't figure out why the sample app works and not the enclosed tiny app.

Thanks.
 

Attachments

  • Rangebar Test.zip
    419.3 KB · Views: 258

rleiman

Well-Known Member
Licensed User
Longtime User
I found out what was missing.

The sample app contains a res folder that needs to be copied into the same folder as the project like it is in the sample project.

Also this line needs to be added to the #Region Project Attributes

B4X:
    #AdditionalRes: ..\res

Once this is done the app will not crash.
 
Upvote 0
Top