添加保证金

时间:2015-12-30 00:50:53

标签: android css

我希望两个引号之间有一个余量。目前这两个引号没有任何段落或者在另一个之上打破。我尝试添加

  <TextView
   android:id="quotes_id 212"

   android:layout_marginRight="20dp"
    />

在下一个引文的结束</quotes>和开始<quotes>之间但是我收到了错误。你可能猜到我是新的。我将不胜感激任何帮助或建议。

<root>
    <quotes>
        <quotes_id>211</quotes_id>
        <quotes_details><![CDATA[Failure will never overtake me if my     determination to succeed is strong enough.]]></quotes_details>
        <quotes_authorname>Og Mandino</quotes_authorname>
        <quotes_imageurl><!    [CDATA[http://darchwonders.files.wordpress.com/2010/09/og-mandino.jpg]]>    </quotes_imageurl>
    </quotes>

    <quotes>
    <quotes_id>212</quotes_id>
    <quotes_details><![CDATA[A creative man is motivated by the desire to achieve, not by the desire to beat others.]]></quotes_details>
    <quotes_authorname>Ayn Rand</quotes_authorname>
    <quotes_imageurl><![CDATA[http://www.nndb.com/people/097/000030007/ayn-rand-wtl_big.jpg]]></quotes_imageurl>
</quotes>

1 个答案:

答案 0 :(得分:0)

你可能想要这样的风格

quotes{
  margin-right:20px;;
}

这是一个片段

&#13;
&#13;
quotes{
  margin-right:20px;;
}
&#13;
<root>
    <quotes>
        <quotes_id>211</quotes_id>
        <quotes_details><![CDATA[Failure will never overtake me if my     determination to succeed is strong enough.]]></quotes_details>
        <quotes_authorname>Og Mandino</quotes_authorname>
        <quotes_imageurl><!    [CDATA[http://darchwonders.files.wordpress.com/2010/09/og-mandino.jpg]]>    </quotes_imageurl>
    </quotes>

    <quotes>
    <quotes_id>212</quotes_id>
    <quotes_details><![CDATA[A creative man is motivated by the desire to achieve, not by the desire to beat others.]]></quotes_details>
    <quotes_authorname>Ayn Rand</quotes_authorname>
    <quotes_imageurl><![CDATA[http://www.nndb.com/people/097/000030007/ayn-rand-wtl_big.jpg]]></quotes_imageurl>
</quotes>
&#13;
&#13;
&#13;