Giter Club home page Giter Club logo

Comments (8)

pedrovgs avatar pedrovgs commented on July 28, 2024

Hey @jrodriguezpuigvert I was taking a look to this issue? Why have you closed it?

from expandableselector.

pedrovgs avatar pedrovgs commented on July 28, 2024

@jrodriguezpuigvert I've created a new project, import the library, add the widget to an activity, configure the theme and some sample data and the library is working as should :(

from expandableselector.

jrodriguezpuigvert avatar jrodriguezpuigvert commented on July 28, 2024

Hi It was not an issue of the library. To access to corresponding namespace, in the xml has to be defined as follows :
xmlns:expandable_selector= "http://schemas.android.com/apk/lib/com.karumi.expandableselector"

Using : xmlns:expandable_selector="http://schemas.android.com/apk/res-auto"
Android Studio is not able to find anything in this path.

I thought that the namespace will be accesible from res-auto but is not.

from expandableselector.

pedrovgs avatar pedrovgs commented on July 28, 2024

The README.md explains how to add some customizable elements but the namespace is missing. I'm going to update it with the namespace information. Thanks for your feedback!

from expandableselector.

jrodriguezpuigvert avatar jrodriguezpuigvert commented on July 28, 2024

You are welcome. This library works really great! Excellent work!

from expandableselector.

pedrovgs avatar pedrovgs commented on July 28, 2024

Thanks! Are you going to use it in any project?

from expandableselector.

jrodriguezpuigvert avatar jrodriguezpuigvert commented on July 28, 2024

Maybe, at the moment I am testing features of Material design.

Sorry but I think that you have to edit again Readme.md specifying
xmlns:expandable_selector= "http://schemas.android.com/apk/lib/com.karumi.expandableselector"

otherwise Android Studio doesn't find the namespace.

from expandableselector.

pedrovgs avatar pedrovgs commented on July 28, 2024

The sample and the project I've created are working with this namespace: xmlns:expandable_selector="http://schemas.android.com/apk/res-auto" If you use the other namespace the configuration is not going to be applied to the widget. The code is going to compile, but the configuration is not going to be applied.

from expandableselector.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.