jaredrummler / MaterialSpinner

A spinner view for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set Text Alignment

bstillitano opened this issue · comments

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

PR Created here #118