public class

TimelinePreviewCellView

extends TimelineCellView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ com.sap.cloud.mobile.fiori.object.AbstractEntityCell
         ↳ com.sap.cloud.mobile.fiori.timeline.views.TimelineCellView
           ↳ com.sap.cloud.mobile.fiori.timeline.views.TimelinePreviewCellView

Class Overview

A concrete class for representing the cells for TimelinePreviewView, follows the structure of TimelineCellView.

Summary

[Expand]
Inherited XML Attributes
From class com.sap.cloud.mobile.fiori.timeline.views.TimelineCellView
From class com.sap.cloud.mobile.fiori.object.AbstractEntityCell
[Expand]
Inherited Constants
From class com.sap.cloud.mobile.fiori.object.AbstractEntityCell
From class android.view.ViewGroup
From class android.view.View
Fields
protected float mBarPaddingBottom
protected float mBarPaddingTop
protected float mHeadlineWidth
[Expand]
Inherited Fields
From class com.sap.cloud.mobile.fiori.timeline.views.TimelineCellView
From class com.sap.cloud.mobile.fiori.object.AbstractEntityCell
From class android.view.View
Public Constructors
TimelinePreviewCellView(Context context)
TimelinePreviewCellView(Context context, AttributeSet attrs)
TimelinePreviewCellView(Context context, AttributeSet attrs, int defStyleAttr)
TimelinePreviewCellView(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)
Public Methods
void recycle()
Recycle the view for reuse
Protected Methods
void configureHeadlineLayout()
Configures headline layout
void configureMonthLayout()
void configureTimestampLayout()
void initialize(AttributeSet attrs, int defStyle, int defStyleRes)
Handle the typed attribute
void onLayout(boolean changed, int l, int t, int r, int b)
void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
[Expand]
Inherited Methods
From class com.sap.cloud.mobile.fiori.timeline.views.TimelineCellView
From class com.sap.cloud.mobile.fiori.object.AbstractEntityCell
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
From interface com.sap.cloud.mobile.fiori.object.KeylineProvider

Fields

protected float mBarPaddingBottom

protected float mBarPaddingTop

protected float mHeadlineWidth

Public Constructors

public TimelinePreviewCellView (Context context)

public TimelinePreviewCellView (Context context, AttributeSet attrs)

public TimelinePreviewCellView (Context context, AttributeSet attrs, int defStyleAttr)

public TimelinePreviewCellView (Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Public Methods

public void recycle ()

Recycle the view for reuse

Protected Methods

protected void configureHeadlineLayout ()

Configures headline layout

protected void configureMonthLayout ()

protected void configureTimestampLayout ()

protected void initialize (AttributeSet attrs, int defStyle, int defStyleRes)

Handle the typed attribute

Parameters
attrs AttributeSet
defStyle Integer
defStyleRes Integer

protected void onLayout (boolean changed, int l, int t, int r, int b)

protected void onMeasure (int widthMeasureSpec, int heightMeasureSpec)