| java.lang.Object | |||
| ↳ | greendroid.widget.item.Item | ||
| ↳ | greendroid.widget.item.TextItem | ||
| ↳ | greendroid.widget.item.SubtextItem | ||
A SubtextItem is really similar to a SubtitleItem as it displays two
pieces of text. The only difference between those two items are the number of
lines occupied by the content.
SubtitleItem: subtitle is displayed on a single lineA SubtextItem may generally used to display a description text. As a result, it is disabled by default
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| subtext | The string that will be displayed above the title of the item (possibly on several lines). | ||||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
greendroid.widget.item.TextItem
| |||||||||||
From class
greendroid.widget.item.Item
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new SubtextItem
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Inflate this Item from an XML resource.
| |||||||||||
Return a view that is associated to the current item.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
greendroid.widget.item.TextItem
| |||||||||||
From class
greendroid.widget.item.Item
| |||||||||||
From class
java.lang.Object
| |||||||||||
The string that will be displayed above the title of the item (possibly on several lines).
Constructs a new SubtextItem
| text | The main text for this item |
|---|---|
| subtext | The subtext |
Inflate this Item from an XML resource.
Return a view that is associated to the current item. The returned view is normally capable of being a good recipient for all item's information.
| context | The Context in which the ItemView will be used |
|---|---|
| parent | The parent View of that new View. The parent is usually the parent ListView and may be used to retrieve the correct LayoutParams type. |