Permalink
Browse files

Add layout-inflatable constructor for IcsSpinner. Closes #434.

  • Loading branch information...
1 parent a9f71bc commit 2fddc996846c7a7b1dd284d3cfc95b47c1a7f2f4 @JakeWharton JakeWharton committed Apr 14, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 library/src/com/actionbarsherlock/internal/widget/IcsSpinner.java
View
4 library/src/com/actionbarsherlock/internal/widget/IcsSpinner.java
@@ -78,6 +78,10 @@
private Rect mTempRect = new Rect();
+ public IcsSpinner(Context context, AttributeSet attrs) {
+ this(context, attrs, R.attr.actionDropDownStyle);
+ }
+
/**
* Construct a new spinner with the given context's theme, the supplied attribute set,
* and default style.

0 comments on commit 2fddc99

Please sign in to comment.