title: Google map in listview item
body: <p>I want to put map in listview item.I want to implements like this!
  ![enter image description here][1]</p>
  
  <p>I extends FragmentActivity
  MainActivity</p>
  
  <pre><code>@Override
  protected void onCreate(final Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.maplist);
      mlayoutInflater = this.getLayoutInflater();
      listView = (ListView) findViewById(R.id.maplist);
  
  
      baseAdapter = new BaseAdapter(){
  
          @Override
          public int getCount() {
              // TODO Auto-generated method stub
              return data.length;
          }
  
          @Override
          public Object getItem(int arg0) {
              // TODO Auto-generated method stub
              return null;
          }
  
          @Override
          public long getItemId(int arg0) {
              // TODO Auto-generated method stub
              return 0;
          }
  
          @Override
          public View getView(final int position, View convertView, ViewGroup parent) {
              ViewHolder viewHolder = null;
              if(convertView == null){
                  viewHolder = new ViewHolder();
                  convertView = mlayoutInflater.inflate(R.layout.mapcontent, null);
                  viewHolder.textView = (TextView) convertView.findViewById(R.id.text);
                  if (aMap == null) {
                      aMap = ((SupportMapFragment) getSupportFragmentManager()
                              .findFragmentById(R.id.map)).getMap();
                  }
                  convertView.setTag(viewHolder);
  
              }else{
                  viewHolder = (ViewHolder) convertView.getTag();
              }
                  viewHolder.textView.setText(data[position]);
  
              return convertView;
  
          }
  
  
      };
  
      listView.setAdapter(baseAdapter);
  </code></pre>
  
  <p>mapcontent.xml,here is the every item I add  to listview</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="horizontal"  &gt;  
  &lt;LinearLayout
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:orientation="horizontal" &gt;
  &lt;TextView 
      android:layout_width="wrap_content"
      android:layout_height="wrap_content"
      android:id="@+id/text"
  
  
      /&gt;
  &lt;/LinearLayout&gt;
  &lt;fragment
      android:id="@+id/map"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      class="com.google.android.gms.maps.SupportMapFragment" /&gt;
  </code></pre>
  
  <p></p>
  
  <p>error log</p>
  
  <pre><code>Binary XML file line #18: Duplicate id 0x7f09003d, tag null,
  </code></pre>