title: Adding mutliple textview to expandablelistview in android
body: <p>I have followed this link <a href="http://www.androidhive.info/2013/07/android-expandable-list-view-tutorial/" rel="nofollow">http://www.androidhive.info/2013/07/android-expandable-list-view-tutorial/</a> to create an <strong>ExpandableListView</strong>.But i want to change the child view.For that my xml layout is</p>
  
  <p><strong>text.xml:</strong></p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:orientation="vertical"
  tools:context="com.example.projectguideapp.SettingActivity" &gt;
        &gt;
  
  
          &lt;LinearLayout
                   android:layout_width="match_parent"
                   android:layout_height="match_parent"
                   android:paddingLeft="12dp"
                   android:paddingRight="12dp"   
                   android:paddingBottom="12dp"                 
                   android:orientation="vertical" &gt;                    
  
                    &lt;LinearLayout
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:orientation="horizontal" 
                      android:layout_marginTop="10dp"
                      android:background="@drawable/descriptionborder"&gt;
  
                        &lt;LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:orientation="vertical"
                            android:layout_weight="2" &gt;
  
                           &lt;TextView
                              android:id="@+id/ele1"
                              android:layout_width="match_parent"
                              android:layout_height="50dp"
                              android:paddingRight="15dp"                           
                              android:textSize="12sp"
                              android:paddingLeft="15dp"
                              android:textColor="#000000"
                              android:gravity="center_horizontal|center|"
                              android:textAppearance="?android:attr/textAppearanceMedium"/&gt;                                                          
  
                        &lt;/LinearLayout&gt;
  
                        &lt;View android:layout_width="1dp"
                              android:layout_height="match_parent"
                              android:background="#C0C0C0"/&gt;
  
                        &lt;LinearLayout
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:orientation="vertical" 
                            android:layout_weight="2.5" &gt;
  
                            &lt;TextView
                              android:id="@+id/edes1"
                              android:layout_width="match_parent"
                              android:layout_height="50dp"
                              android:paddingRight="15dp"                           
                              android:textSize="12sp"
                              android:paddingLeft="15dp"
                              android:textColor="#000000"
                              android:gravity="center_horizontal|center"
                              android:textAppearance="?android:attr/textAppearanceMedium"/&gt;                         
  
                        &lt;/LinearLayout&gt;
  
                  &lt;/LinearLayout&gt;                   
        &lt;/LinearLayout&gt;
  </code></pre>
  
  <p></p>
  
  <p>In the example link there is only one textview but i want two textview in the child view and display two different array's in the two textviews.</p>
  
  <p>My <strong>ExpandableListView</strong> code of childview is</p>
  
  <pre><code>TextView Child = (TextView) convertView.findViewById(R.id.ele1);
  TextView Child1 = (TextView) convertView.findViewById(R.id.edes1);       
  Child.setText(childText);
  Child1.setText(childText);
  </code></pre>
  
  <p>both textviews are displaying the same values of array in the above code.what changes has to be made two display different <strong>arraylist</strong> in the <strong>textviews</strong>.</p>