title: Change ListView textSize for Android
body: <p>I want to change listview text size, but I'm not good coder</p>
  
  <p>I try all way but ıt's not possible</p>
  
  <p>I want to be big textsize please help me </p>
  
  <p>[<a href="https://imgur.com/a/IPc2u][1]" rel="nofollow noreferrer">http://imgur.com/a/IPc2u][1]</a></p>
  
  <p>Here my codes;</p>
  
  <p>Activicty.xml</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:id="@+id/activity_main"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:paddingBottom="@dimen/activity_vertical_margin"
  android:paddingLeft="-24dp"
  android:textSize="26sp"
  android:paddingTop="@dimen/activity_vertical_margin"
  tools:context="com.example.haziranonalti.MainActivity"&gt;
  
  
  &lt;ListView
      android:layout_width="match_parent"
      android:id="@+id/Listview"
      android:headerDividersEnabled="false"
      android:layout_height="match_parent"
      android:dividerHeight="4px"
      android:padding="0dp"
      android:textSize="26sp"
      android:layout_alignParentTop="true"
      android:layout_alignParentLeft="true"
      android:layout_alignParentStart="true" /&gt;
  </code></pre>
  
  <p></p>
  
  <hr>
  
  <p>MainActivity.java</p>
  
  <pre><code>public class MainActivity extends AppCompatActivity {
  ListView listView;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
      listView = (ListView) findViewById(R.id.Listview);
      final String[] values = new String[]{"Deneme", "Deneme2", "Deneme3","Deneme4","Deneme5","Deneme6"};
      ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this,
              android.R.layout.activity_list_item, android.R.id.text1, values);
              listView.setAdapter(adapter);
              listView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
          @Override
          public void onItemClick(AdapterView&lt;?&gt; parent, View view,
                                  int position, long id) {
              if (position == 0) {
                  Intent myintent = new Intent(view.getContext(), Main2Activity.class);
                  startActivityForResult(myintent, 0);
              }
              if (position == 1) {
                  Intent myintent = new Intent(view.getContext(), Main3Activity.class);
                  startActivityForResult(myintent, 1);
              }
              if (position == 2) {
                  Intent myintent = new Intent(view.getContext(), Main4Activity.class);
                  startActivityForResult(myintent, 2);
              }
              if (position == 3) {
                  Intent myintent = new Intent(view.getContext(), Main5Activity.class);
                  startActivityForResult(myintent, 3);
              }
              if (position == 4) {
                  Intent myintent = new Intent(view.getContext(), Main6Activity.class);
                  startActivityForResult(myintent, 4);
              }
              if (position == 5) {
                  Intent myintent = new Intent(view.getContext(), Main7Activity.class);
                  startActivityForResult(myintent, 5);
  </code></pre>