Android Question MaterialRangeBar crashes my app

Discussion in 'Android Questions' started by rleiman, Dec 28, 2017.

  1. rleiman

    rleiman Well-Known Member Licensed 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.


    Attached Files:

  2. rleiman

    rleiman Well-Known Member Licensed 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

    #AdditionalRes: ..\res
    Once this is done the app will not crash.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice