1

access the rowlistview programmatically

view story
linux-howto

http://stackoverflow.com – I am trying to change the alignment of the text in ListView programmatically instead of changing the xml file. Here is my row_listview.xml <?xml version="1.0" encoding="utf-8"?> <TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/textViewRowList" android:layout_height="?android:attr/listPreferredItemHeight" android:layout_width="fill_parent" android:textSize="20sp" android:paddingLeft="6dip" android:paddingRight="6dip" android:gravity="left" android:textColor="#330033" android:textStyle="bold"/> And activi (HowTos)