Java Code Examples for android.widget.RelativeLayout.layout()

The following are Jave code examples for showing how to use layout() of the android.widget.RelativeLayout class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: Blockly   File:   Source Code and License Vote up 5 votes
public void setUp() throws Exception {
    mActivity = mActivityRule.getActivity();

    mLayout = new RelativeLayout(mActivity);
    mLayout.layout(0, 0, LAYOUT_WIDTH, LAYOUT_HEIGHT);

    mFieldColor = new FieldColor("FieldColor");
    mFieldColorView = new BasicFieldColorView(mActivity);