Comments (8)
That's a nice suggestion. I will
from linearlistview.
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.
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:
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.
from linearlistview.
It seems SHOW_DIVIDER_MIDDLE is private. Is it safe to use the framework's constants instead?
from linearlistview.
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.
Ok, thanks. do you know of any problems by using this class?
from linearlistview.
Works like a charm
from linearlistview.
@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)
- 效率问题 HOT 4
- Beginner's problem
- notifyDataSetChanged Issue HOT 2
- error in android studio HOT 1
- Touch on LinearListView within a NestedScrollView blocks scrolling HOT 2
- error:NullPointerException HOT 2
- Can not be used as a list view for ListFragment
- New release HOT 9
- Can't compile HOT 8
- Choice mode does not get recognized
- divider padding / thicknes doesn't work HOT 2
- is this lib still alive?? HOT 1
- drawDividersHorizontal incorrectly overrides package-private method with same name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linearlistview.