I\'ve created a combo box control with a edittext and spinner. I\'m trying to let the android:prompt attribute be passed onto the spinner, which means I need to catch it i
Define a style in the xml. For ex :
To get the value in the constructor use : TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ComboBox);
TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.ComboBox);
Use the TypedArray get methods to get the particular attribute.