I have a listview in xml with both layout_width
and layout_height
as fill_parent
.
I am using default layout supplied by android as android.R.layout.simple_list_item_1
.But as it is default supplied by android i cannot make alignment in center.Default alignment is left-side. Anyway to do that.I know i can make my own textview and give as R.layout.my_textView.But anyway to make listview items in center with that defaule layout.