xml - android custom listview row formatting question -
i have listview trying customize. issue having eclipse's android plugin not quite sure how format text portions , wrap them around icon. here diagram trying do:
i need know,
1. advice on formatting text fit row. top, want 3 different strings fit (what can) own column , ellipsise @ end. easy enough.
2. want similar bottom row give max length. each column can contain 20 characters, including (...) ellipses. may contain 1-7 columns. want overflow go next row , wrap under icon.
3. perhaps has war story custom listview want share? how did fit information in item, or did use alternate view such gridview instead?
thank you.
for point 1: can use linearlayouts each row, using weight property on each element according needs. point 3: in order make text ellipsise can use property
android:singleline="true"
although has deprecated, or use
android:inputtype
with in order not set textmultiline flag true
for point 2: cant think of doing in other way programatically
Comments
Post a Comment