ErNaveen / nice-spinner

NiceSpinner is a re-implementation of the default Android's spinner, with a nice arrow animation and a different way to display its content.
Apache License 2.0
18 stars 2 forks source link

textsize #1

Open Hitexroid opened 8 years ago

Hitexroid commented 8 years ago

how to change spinner list text size ?

ErNaveen commented 8 years ago

spinner_item.xml:

<?xml version="1.0" encoding="utf-8"?> <TextView
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" android:textSize="20sp" android:gravity="left"
android:textColor="#FF0000"
android:padding="5dip" />

ArrayAdapter adapter = new ArrayAdapter(this, R.layout.spinner_item,list);

Hitexroid commented 8 years ago

Thank you and about change ItemBackground Color ?

android:background="#a93ec9" Not worked !