Skip to content

Most visited

Recently visited

navigation
added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:27.0.0

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 contains a title and description.

Summary

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()

Returns the description text.

final CharSequence getTitle()

Returns the title text.

final void setDescription(CharSequence text)

Sets the description text.

final void setTitle(CharSequence text)

Sets the title 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

added in version 22.1.0
ListRowHoverCardView (Context context)

Parameters
context Context

ListRowHoverCardView

added in version 22.1.0
ListRowHoverCardView (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

ListRowHoverCardView

added in version 22.1.0
ListRowHoverCardView (Context context, 
                AttributeSet attrs, 
                int defStyle)

Parameters
context Context

attrs AttributeSet

defStyle int

Public methods

getDescription

added in version 22.1.0
CharSequence getDescription ()

Returns the description text.

Returns
CharSequence

getTitle

added in version 22.1.0
CharSequence getTitle ()

Returns the title text.

Returns
CharSequence

setDescription

added in version 22.1.0
void setDescription (CharSequence text)

Sets the description text.

Parameters
text CharSequence

setTitle

added in version 22.1.0
void setTitle (CharSequence text)

Sets the title text.

Parameters
text CharSequence

This site uses cookies to store your preferences for site-specific language and display options.

Get the latest Android developer news and tips that will help you find success on Google Play.

* Required Fields

Hooray!

Follow Google Developers on WeChat

Browse this site in ?

You requested a page in , but your language preference for this site is .

Would you like to change your language preference and browse this site in ? If you want to change your language preference later, use the language menu at the bottom of each page.

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.

Take a short survey?
Help us improve the Android developer experience.
(Sep 2017 survey)