jaredrummler / MaterialSpinner

A spinner view for Android
Apache License 2.0
1.32k stars 217 forks source link

Set Text Alignment #117

Closed bstillitano closed 1 year ago

bstillitano commented 5 years ago

Hi just checking if there is a way to set the text alignment to either center or right on the listView?

Currently using this as a workaround

var textView: TextView = materialSpinner.findViewById(com.jaredrummler.materialspinner.R.id.tv_tinted_spinner)
textView.textAlignment = View.TEXT_ALIGNMENT_TEXT_END
bstillitano commented 5 years ago

PR Created here https://github.com/jaredrummler/MaterialSpinner/pull/118