title: Listview items text is not showing complete
body: <p>I'm trying to create an activity for Admin to approve some Posts(by user) to publish, so I'm using Listview where all posts will be checked/unchecked. <strong>Now the issue is that some posts have large text and this big text is not showing properly in listview row.</strong>
  I'm new to software development I searched all solutions, one is to use custom listview but I'm not getting it.</p>
  <p>here are my files:</p>
  <p>approvepost.xml</p>
  <pre><code> &lt;RelativeLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
          xmlns:tools=&quot;http://schemas.android.com/tools&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;match_parent&quot;
          android:background=&quot;@android:color/transparent&quot;
          tools:context=&quot;.ApprovePost&quot;
          android:layout_marginTop=&quot;25dp&quot;&gt;
      
          &lt;ListView
              android:id=&quot;@+id/listView&quot;
              android:layout_width=&quot;wrap_content&quot;
              android:layout_height=&quot;wrap_content&quot;
              android:divider=&quot;@android:color/transparent&quot;
              android:dividerHeight=&quot;20dp&quot;
              android:paddingBottom=&quot;10dp&quot;
              /&gt;
      
      &lt;/RelativeLayout&gt; 
  </code></pre>
  <p>This is the main class...
  ApprovePost.java</p>
  <pre><code>    package com.ahmed.signup;
      import android.app.ProgressDialog;
      import android.os.Bundle;
      import android.util.Log;
      import android.view.View;
      import android.widget.AdapterView;
      import android.widget.ArrayAdapter;
      import android.widget.CheckedTextView;
      import android.widget.ListView;
      import androidx.appcompat.app.AppCompatActivity;
      
      public class ApprovePost extends AppCompatActivity {
          public static final String TAG = &quot;ListView&quot;;
          private ListView listView;
      
          @Override
          protected void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);
              setContentView(R.layout.approvepost);
              listView = (ListView)findViewById(R.id.listView);
              // CHOICE_MODE_NONE: (Default)
              // (listView.setItemChecked(..) doest not work with CHOICE_MODE_NONE).
              // CHOICE_MODE_SINGLE:
              // CHOICE_MODE_MULTIPLE:
              // CHOICE_MODE_MULTIPLE_MODAL:
             listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);
              listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
      
                  @Override
                  public void onItemClick(AdapterView&lt;?&gt; parent, View view, int position, long id) {
                      Log.i(TAG, &quot;onItemClick: &quot; +position);
                      CheckedTextView v = (CheckedTextView) view;
                      boolean currentCheck = v.isChecked();
                      ApprovePostDto user = (ApprovePostDto) listView.getItemAtPosition(position);
                      user.setActive(!currentCheck);
                  }
              });
      
              this.initListViewData();
          }
      
          private void initListViewData()  {
              ApprovePostDto user1 = new ApprovePostDto(&quot;Ali&quot;, &quot;I would like to set up a meeting to give an overview of Foxit and demo the features important to your workflows.&quot;);
              ApprovePostDto user2 = new ApprovePostDto(&quot;Haider&quot;, &quot;See the data in your Google Account and choose what activity is saved to personalize your Google experience&quot;);
              ApprovePostDto user3 = new ApprovePostDto(&quot;Usman&quot;, &quot;Your account storage is shared across Google services, like Gmail and Photos&quot;);
      
              ApprovePostDto[] users = new ApprovePostDto[]{user1,user2, user3};
              ArrayAdapter&lt;ApprovePostDto&gt; arrayAdapter
                      = new ArrayAdapter&lt;ApprovePostDto&gt;(this, android.R.layout.simple_list_item_checked , users);
      
              listView.setAdapter(arrayAdapter);
      
              ProgressDialog progress;
      
              progress = new ProgressDialog(this);
              progress.setTitle(&quot;Please Wait!!&quot;);
              progress.setMessage(&quot;Wait!!&quot;);
              progress.setCancelable(true);
              progress.setProgressStyle(ProgressDialog.STYLE_SPINNER);
      
              for(int i=0;i&lt; users.length; i++ )  {
                  listView.setItemChecked(i,users[i].isActive());
      
                  progress.show();
      
              }
          }
      }
       ```
  
  
   
  </code></pre>