Most visited

Recently visited

ListRowHoverCardView

public final class ListRowHoverCardView
extends LinearLayout

java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.LinearLayout
         ↳ android.support.v17.leanback.widget.ListRowHoverCardView


ListRowHoverCardView包含标题和说明。

Summary

Inherited XML attributes

From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View

Inherited constants

From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View

Inherited fields

From class android.view.View

Public constructors

ListRowHoverCardView(Context context)
ListRowHoverCardView(Context context, AttributeSet attrs)
ListRowHoverCardView(Context context, AttributeSet attrs, int defStyle)

Public methods

final CharSequence getDescription()

返回说明文字。

final CharSequence getTitle()

返回标题文本。

final void setDescription(CharSequence text)

设置说明文字。

final void setTitle(CharSequence text)

设置标题文本。

Inherited methods

From class android.widget.LinearLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.view.ViewParent
From interface android.view.ViewManager
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.accessibility.AccessibilityEventSource

Public constructors

ListRowHoverCardView

ListRowHoverCardView (Context context)

Parameters
context Context

ListRowHoverCardView

ListRowHoverCardView (Context context, 
                AttributeSet attrs)

Parameters
context Context
attrs AttributeSet

ListRowHoverCardView

ListRowHoverCardView (Context context, 
                AttributeSet attrs, 
                int defStyle)

Parameters
context Context
attrs AttributeSet
defStyle int

Public methods

getDescription

CharSequence getDescription ()

返回说明文字。

Returns
CharSequence

getTitle

CharSequence getTitle ()

返回标题文本。

Returns
CharSequence

setDescription

void setDescription (CharSequence text)

设置说明文字。

Parameters
text CharSequence

setTitle

void setTitle (CharSequence text)

设置标题文本。

Parameters
text CharSequence

Hooray!