I have a list view in an Android application used to display an ArrayList containing Strings and I can’t find any properties of the ListView that would allow me to align the text of the ListView Items to the right of it instead of the left. Any help would be great, thanks.
Share
The answer depends on how exactly do you build the list. If you use the the standard
ArrayAdapterthen you could use the constructor:where
R.layout.aligned_rightis a xml layout like this: