title: Edit listView , margin top
body: <p>I have a list view that looks like this </p>
  
  <p><img src="https://i.stack.imgur.com/LnMR1.png" alt="listview">   </p>
  
  <p>and that's its code ..    </p>
  
  <pre><code>package com.a.c;
  
  import android.app.ListActivity;
  import android.os.Bundle;
  import android.widget.ArrayAdapter;
  
  public class calender extends ListActivity {
     /** Called when the activity is first created. */
     @Override
  public void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
              setListAdapter(new ArrayAdapter&lt;String&gt;(this,
              android.R.layout.simple_list_item_1, calendr));
      getListView().setTextFilterEnabled(true);
  
  }
  
  static final String[] calendr = new String[]{
      "MONT Blanc",
      "Gucci",
      "Parker",
      "Sailor",
      "Porsche Design",
      "Rotring",
      "Sheaffer",
      "Waterman"
  };}
  </code></pre>
  
  <p>i want to modify it to add this layout ,, and shift the listview downward little bit </p>
  
  <p>the image looks like a picture frame that's why i want to move the list view ..</p>
  
  <p>Layout code at .XML file </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;RelativeLayout android:id="@+id/relativeLayout1"
   android:layout_width="600px"
   android:layout_height="1024px"
   xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
  
  &lt;ImageView android:id="@+id/layout" 
              android:src="@drawable/layout" 
              android:layout_width="wrap_content" 
              android:layout_height="fill_parent"
             android:layout_alignParentBottom="true" 
             android:layout_alignParentLeft="true" 
             android:layout_alignParentRight="true" 
            android:layout_alignParentTop="true"&gt;&lt;/ImageView&gt;
  
         &lt;/RelativeLayout&gt;
  </code></pre>