title: how to resize listview in android?
body: <p>i have an android application which has a listview for listing 14 items inside it. i have coded as</p>
  
  <pre><code>&lt;LinearLayout android:orientation="horizontal"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"&gt;
          &lt;ListView android:layout_width="fill_parent"
              android:layout_height="wrap_content"
              android:layout_weight="1"
              android:clickable="true"
              android:id="@+id/my_list"/&gt;
      &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>and my activity file is working as </p>
  
  <pre><code>ListView list;
  list = (ListView)findViewById(R.id.my_list);
  ArrayAdapter&lt;CharSequence&gt; list_adapter= ArrayAdapter.createFromResource(
          this, R.array.my_array, android.R.layout.simple_list_item_1);
  my_list.setAdapter(list_adapter);
  </code></pre>
  
  <p>The code works properly. but i want to reduce the size of listview, so that i can list maximum items in the screen. </p>
  
  <p>how can i do this? i had searched it. but didnt find any useful guidance.</p>