ListRowHoverCardViewpublic final class ListRowHoverCardView extends android.widget.LinearLayout ListRowHoverCardView contains a title and description. |
Fields Summary |
---|
private final android.widget.TextView | mTitleView | private final android.widget.TextView | mDescriptionView |
Methods Summary |
---|
public final java.lang.CharSequence | getDescription()
return mDescriptionView.getText();
| public final java.lang.CharSequence | getTitle()
return mTitleView.getText();
| public final void | setDescription(java.lang.CharSequence text)
if (!TextUtils.isEmpty(text)) {
mDescriptionView.setText(text);
mDescriptionView.setVisibility(View.VISIBLE);
} else {
mDescriptionView.setVisibility(View.GONE);
}
| public final void | setTitle(java.lang.CharSequence text)
if (!TextUtils.isEmpty(text)) {
mTitleView.setText(text);
mTitleView.setVisibility(View.VISIBLE);
} else {
mTitleView.setVisibility(View.GONE);
}
|
|