Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

MockView

public class MockView
extends View

java.lang.Object
   ↳ View
     ↳ android.support.constraint.utils.MockView


A view that is useful for prototyping layouts. Added in 2.0

Basic view that can draw a label (by default the view id), along with diagonals. Useful as a temporary mock view while building up a UI.

Summary

Public constructors

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

Public methods

void onDraw(Canvas canvas)

Inherited methods

Public constructors

MockView

public MockView (Context context)

Parameters
context Context

MockView

public MockView (Context context, 
                AttributeSet attrs)

Parameters
context Context

attrs AttributeSet

MockView

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

Parameters
context Context

attrs AttributeSet

defStyleAttr int

Public methods

onDraw

public void onDraw (Canvas canvas)

Parameters
canvas Canvas