Lesilva / BetterSpinner

A library creates spinners for Android that really work
727 stars 150 forks source link

How to Customize Material better Spinner? #56

Open pnametala opened 8 years ago

pnametala commented 8 years ago

I'm trying to customize the view, but my default theme doesn't apply

<com.weiwangcn.betterspinner.library.material.MaterialBetterSpinner android:id="@+id/item_type" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/item_type_hint" app:met_floatingLabel="normal" android:layout_marginTop="16dp" android:layout_marginLeft="4dp" android:layout_marginRight="4dp" android:layout_marginBottom="4dp" />

None of margins or textColors or other customizations are working.

How can I do that?

Ty,

douglasjunior commented 8 years ago

MaterialBetterSpinner extends MaterialEditText.

See this Wiki page

pnametala commented 8 years ago

Thank you!