Android list preferred left padding value and hide textview in array adapter
<p>Hi does anyway know the value for the following attributes:</p>

<pre><code>android:minHeight="?android:attr/listPreferredItemHeightSmall"     
</code></pre>

<p><code>android:layout_marginLeft="?android:attr/listPreferredItemPaddingLeft"</code></p>

<p>I've tried looking at <a href="http://developer.android.com/reference/android/R.attr.html#listPreferredItemPaddingLeft" rel="nofollow">http://developer.android.com/reference/android/R.attr.html#listPreferredItemPaddingLeft</a></p>

<p>but found nothing useful.</p>

<p>I also looked at the attrs.xml file but it just defines it as follows:</p>

<pre><code>&lt;!-- The preferred padding along the left edge of list items. --&gt;
&lt;attr name="listPreferredItemPaddingLeft" format="dimension" /&gt;

&lt;!-- The preferred padding along the right edge of list items. --&gt;
&lt;attr name="listPreferredItemPaddingRight" format="dimension" /&gt;
</code></pre>

<p>One last thing, if I have an array adapter for a double item list how can I make the second line disappear if it is blank? I tried changing the visibility of the textview to <code>View.Gone</code>, but the second row is still taking up space.</p>

<p>Thanks.</p>
