FieldColorView

public class FieldColorView extends BasicFieldColorView

BasicFieldColorView with a inset emboss that matches its containing BlockView.

Constant Summary

int MIN_HEIGHT_DP
int MIN_WIDTH_DP

Inherited Constant Summary

Field Summary

protected WorkspaceHelper mHelper

Inherited Field Summary

Public Constructor Summary

FieldColorView(Context context)
FieldColorView(Context context, AttributeSet attrs)
FieldColorView(Context context, AttributeSet attrs, int defStyleAttr)

Public Method Summary

void
onMeasure(int widthMeasureSpec, int heightMeasureSpec)
void

Protected Method Summary

void

Inherited Method Summary

Constants

protected static final int MIN_HEIGHT_DP

Constant Value: 41

protected static final int MIN_WIDTH_DP

Constant Value: 41

Fields

protected WorkspaceHelper mHelper

Public Constructors

public FieldColorView (Context context)

Parameters
context

public FieldColorView (Context context, AttributeSet attrs)

Parameters
context
attrs

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

Parameters
context
attrs
defStyleAttr

Public Methods

public void onMeasure (int widthMeasureSpec, int heightMeasureSpec)

Parameters
widthMeasureSpec
heightMeasureSpec

public void setWorkspaceHelper (WorkspaceHelper helper)

Parameters
helper

Protected Methods

protected void onAttachedToWindow ()