Giter Club home page Giter Club logo

Comments (8)

frankiesardo avatar frankiesardo commented on July 27, 2024

That's a nice suggestion. I will 👍

from linearlistview.

frankiesardo avatar frankiesardo commented on July 27, 2024

It seems that ICSLinearLayout provides support for the ICS xml attributes but doesn't allow you to set them programmatically. For now I'll stick with the current implementation.

from linearlistview.

chrisjenx avatar chrisjenx commented on July 27, 2024

I actually think you should implement your own version of it. Instead of
the whole ICS linear layout.
On 6 Nov 2013 12:29, "Frankie Sardo" [email protected] wrote:

Closed #1 #1.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

from linearlistview.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 27, 2024

It seems SHOW_DIVIDER_MIDDLE is private. Is it safe to use the framework's constants instead?

from linearlistview.

frankiesardo avatar frankiesardo commented on July 27, 2024

Unless they change it in an hypothetical future, the flag value will always be 2.
So yes, let's say it's safe.

from linearlistview.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 27, 2024

Ok, thanks. do you know of any problems by using this class?

from linearlistview.

frankiesardo avatar frankiesardo commented on July 27, 2024

Works like a charm

from linearlistview.

AndroidDeveloperLB avatar AndroidDeveloperLB commented on July 27, 2024

@frankiesardo for some reason, LinearLayoutICS doesn't show the dividers, while the IcsLinearLayout could.
Am I doing anything wrong:

rowLayout=new LinearLayoutICS(_context,null);
rowLayout.setMeasureWithLargestChildEnabled(true);
rowLayout.setShowDividers(LinearLayout.SHOW_DIVIDER_MIDDLE);
rowLayout.setDividerDrawable(_context.getResources().getDrawable(R.drawable.list_divider_holo_dark));
rowLayout.setOrientation(LinearLayout.HORIZONTAL);
... //add views and other stuff

?

from linearlistview.

Related Issues (14)

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.