how to change text size of listview
Go into layout folder and create a new xml file named mytextview.xml(whatever you want to name it)
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/text1"
android:paddingTop="2dip"
android:paddingBottom="3dip"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="2dp" />
and in the code
setListAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, results));
change it to
setListAdapter(new ArrayAdapter<String>(this,
R.layout.mytextview, results));