Android APIs
public class

ImageCardView

extends BaseCardView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.support.v17.leanback.widget.BaseCardView
         ↳ android.support.v17.leanback.widget.ImageCardView

Class Overview

A card view with an ImageView as its main region.

Summary

[Expand]
Inherited XML Attributes
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Constants
From class android.support.v17.leanback.widget.BaseCardView
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
ImageCardView(Context context)
ImageCardView(Context context, AttributeSet attrs)
ImageCardView(Context context, AttributeSet attrs, int defStyle)
Public Methods
Drawable getBadgeImage()
CharSequence getContentText()
Drawable getMainImage()
CharSequence getTitleText()
void setBadgeImage(Drawable drawable)
void setContentText(CharSequence text)
void setMainImage(Drawable drawable)
void setMainImageDimensions(int width, int height)
void setTitleText(CharSequence text)
[Expand]
Inherited Methods
From class android.support.v17.leanback.widget.BaseCardView
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public ImageCardView (Context context)

public ImageCardView (Context context, AttributeSet attrs)

public ImageCardView (Context context, AttributeSet attrs, int defStyle)

Public Methods

public Drawable getBadgeImage ()

public CharSequence getContentText ()

public Drawable getMainImage ()

public CharSequence getTitleText ()

public void setBadgeImage (Drawable drawable)

public void setContentText (CharSequence text)

public void setMainImage (Drawable drawable)

public void setMainImageDimensions (int width, int height)

public void setTitleText (CharSequence text)