mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-03 12:48:56 +08:00
Merge branch 'master' of http://www.gitee.com/houstudio/cdroid
This commit is contained in:
commit
086d3444bb
@ -88,7 +88,8 @@ NumberPicker::NumberPicker(Context* context,const AttributeSet& atts)
|
||||
setTextColor(mTextColor,atts.getColor("textColor2",mTextColor));
|
||||
setSelectedTextColor(atts.getColor("selectedTextColor"));
|
||||
ColorStateList*colors=mSelectedText->getTextColors();
|
||||
mTextColor = colors->getColorForState(StateSet::get(StateSet::VIEW_STATE_ENABLED),Color::WHITE);
|
||||
if(colors->isStateful())
|
||||
setSelectedTextColor(colors->getColorForState(StateSet::get(StateSet::VIEW_STATE_ENABLED),mSelectedTextColor));
|
||||
updateInputTextView();
|
||||
|
||||
setValue(atts.getInt("value",0));
|
||||
|
Loading…
Reference in New Issue
Block a user