答案取决于您如何精确地建立列表。如果使用标准,
ArrayAdapter则可以使用构造函数:
ArrayAdapter<String>(Context, R.layout.aligned_right, values);
这样
R.layout.aligned_right的xml布局在哪里:
<TextView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@android:id/text1" android:layout_width="fill_parent" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge" android:paddingLeft="6dip" android:minHeight="?android:attr/listPreferredItemHeight" android:gravity="right"/>



