title: Android: Spacing between Imageviews
body: <p>Hi i have 4 images side by side i am trying to increase spacing between imageviews...but itz not working ..tried both setSpacing(int)in java...android:spacing in xml layout</p>
  
  <pre><code>&lt;LinearLayout
      android:layout_width="fill_parent"
      android:layout_height="wrap_content"
      android:gravity="bottom"
      android:orientation="horizontal" &gt;
      &lt;ImageView
          android:id="@+id/navigationImage"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="left"
          android:paddingLeft="15dp"
          android:spacing="15dp" /&gt;
      &lt;ImageView
          android:id="@+id/streetViewImage"
          android:src="@drawable/streetview"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="left"
          android:paddingLeft="15dp"
          android:spacing="15dp" /&gt;
      &lt;ImageView
          android:id="@+id/phoneImage"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:gravity="left"
          android:paddingLeft="20dp"
          android:paddingRight="15dp"
          android:spacing="15dp" /&gt;
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>this is my java code</p>
  
  <pre><code> ImageView Image = (ImageView) view.findViewById(R.id.navImage);
   Image.setImageResource(R.drawable.navigation);
   Image.setSpacing(5);
  </code></pre>
  
  <p>Any help is appreciated</p>