Giter Club home page Giter Club logo

expandableselector's People

Contributors

aconsuegra avatar alexanderls avatar pedrovgs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

expandableselector's Issues

Binary XML file line #18: You must supply a layout_width attribute.

Hi, I just copied from your instruction and then compiled. I've got some error message like this below

Caused by: java.lang.UnsupportedOperationException: Binary XML file line #18: You must supply a layout_width attribute.
at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:709)
at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:6889)
at android.view.ViewGroup$MarginLayoutParams.(ViewGroup.java:7071)
at android.widget.FrameLayout$LayoutParams.(FrameLayout.java:446)
at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:386)
at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:385)
at android.view.LayoutInflater.inflate(LayoutInflater.java:502)
at android.view.LayoutInflater.inflate(LayoutInflater.java:423) 
at com.karumi.expandableselector.ExpandableSelector.initializeButton(ExpandableSelector.java:277) 
at com.karumi.expandableselector.ExpandableSelector.renderExpandableItems(ExpandableSelector.java:231) 
at com.karumi.expandableselector.ExpandableSelector.showExpandableItems(ExpandableSelector.java:92) 
at indie.kcalulator.ListsActivity.initializeSizesExpandableSelector(ListsActivity.java:84) 
at indie.kcalulator.ListsActivity.onCreate(ListsActivity.java:69) 
at android.app.Activity.performCreate(Activity.java:6237) 
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1107) 
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2369) 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476) 
at android.app.ActivityThread.-wrap11(ActivityThread.java) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:148) 
at android.app.ActivityThread.main(ActivityThread.java:5417) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616) 

Could you tell me how do I fix this because this error message told me that your code is not declare a layout_width attribute on android view.

I suppose that tools:ignore="RequiredSize" in expandable_item_button layout doesn't work

Thanks in advance.

namespace expandable_selector

Hi everyone!
I can access to expandable_selector namespace from the library sample. However, the same sample used in on a new project is not working as expected. Importing the library using gradle instructions, this namespace is inaccesible.

how can i modify your ExpandableItem name?

how can i modify your ExpandableItem name when i open weiget?
i use code below this line:
es_selector.setExpandableSelectorListener(new ExpandableSelectorListener()
{
@OverRide
public void onCollapse()
{
Logger.e("ware"," adadad" );
es_selector.getExpandableItem(0).setResourceId(R.string.choose_type);
}

        @Override
        public void onExpand()
        {
            Logger.e("ware"," adadad" );
            es_selector.getExpandableItem(0).setResourceId(R.string.narmal);
        }

        @Override
        public void onCollapsed()
        {Logger.e("ware"," adadad" );
            es_selector.getExpandableItem(0).setResourceId(R.string.choose_type);
        }

        @Override
        public void onExpanded()
        {Logger.e("ware"," adadad" );
            es_selector.getExpandableItem(0).setResourceId(R.string.narmal);
        }
    });

i can see Log message but the ExpandableItem name didn't modifed,if you have spare times,tell me please!

Error:Execution failed for task ':app:processDebugManifest'.

Error:Execution failed for task ':app:processDebugManifest'.

Manifest merger failed : uses-sdk:minSdkVersion 11 cannot be smaller than version 14 declared in library [com.karumi:expandableselector:1.0.0] ...Mosaic... \app\build\intermediates\exploded-aar\com.karumi\expandableselector\1.0.0\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.karumi.expandableselector" to force usage

Curve

Hello,

First to tell you thanks for your great library.
Just yesterday I made similar thing in a project of mine, but yours is almost complete.

As I saw you will like to include directions (down,left,up and right) which is great.
I think the library will be great if there is also a curve expanding/collapsing involved.
I would like to contribute and make an PR with this functionality.

So my question is this:

Do you thing this is good idea to add to the library? (I don't want to waste my time)

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.