<?xml version="1.0"?>
<!DOCTYPE  constraint-set
    PUBLIC "-//Brunch Boy Design//RelativeLayout Constraint Set DTD 1.0//EN"
    "http://dtd.brunchboy.com/RelativeLayout/constraint-set.dtd">
<constraint-set>
    <constrain name="bold">
        <top>
            <toAttribute reference="_container" attribute="top" offset="10"/>
        </top>
        <left>
            <toAttribute reference="_container" attribute="left" offset="10"/>
        </left>
    </constrain>

    <constrain name="italic">
        <top>
            <toAttribute reference="bold" attribute="bottom" offset="5"/>
        </top>
        <left>
            <toAttribute reference="bold" attribute="left"/>
        </left>
    </constrain>

    <constrain name="underline">
        <top>
            <toAttribute reference="italic" attribute="bottom" offset="5"/>
        </top>
        <left>
            <toAttribute reference="bold" attribute="left"/>
        </left>
    </constrain>

    <constrain name="s">
        <top>
            <toAttribute reference="bold" attribute="top"/>
        </top>
        <left>
            <toAttribute reference="bold,italic,underline" attribute="right"
	                 offset="10"/>
        </left>
    </constrain>

    <constrain name="tt">
        <top>
            <toAttribute reference="s" attribute="bottom" offset="5"/>
        </top>
        <left>
            <toAttribute reference="s" attribute="left"/>
        </left>
    </constrain>

    <constrain name="em">
        <top>
            <toAttribute reference="tt" attribute="bottom" offset="5"/>
        </top>
        <left>
            <toAttribute reference="s" attribute="left"/>
        </left>
    </constrain>

    <constrain name="strong">
        <top>
            <toAttribute reference="em" attribute="bottom" offset="5"/>
        </top>
        <left>
            <toAttribute reference="s" attribute="left"/>
        </left>
    </constrain>

    <constrain name="caption">
        <top>
            <toAttribute reference="bold" attribute="top"/>
        </top>
        <left>
            <toAttribute reference="sample" attribute="left"/>
        </left>
    </constrain>

    <constrain name="sample">
        <top>
            <toAttribute reference="caption" attribute="bottom" offset="4"/>
        </top>
        <bottom>
            <toAttribute reference="apply" attribute="top" offset="-10"/>
        </bottom>
        <left>
            <toAttribute reference="s,tt,em,strong" attribute="right"
	                 offset="20"/>
        </left>
	<right>
	    <toAttribute reference="_container" attribute="right"
	                 offset="-10"/>
        </right>
    </constrain>

    <constrain name="apply">
        <bottom>
            <toAttribute reference="_container" attribute="bottom"
	                 offset="-10"/>
        </bottom>
        <horizontalCenter>
            <toAxis reference="sample" axis="horizontal" fraction="0.5"/>
        </horizontalCenter>
    </constrain>

</constraint-set>
