I am using the xml
in my layout
folder to declare my spinners. For example:
<Spinner
android:id="@+id/foo_spinner"
android:layout_width="0sp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:textSize="30sp" />
I load the spinner entries within my code. My problem is that the text size isn't affected. I can put 100sp
there but nothing will happen. Do I have to change it only after I load the spinner content? Do I need to do this after every time I update the content?