mirror of
https://gitee.com/houstudio/Cdroid.git
synced 2024-12-04 21:27:41 +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));
|
setTextColor(mTextColor,atts.getColor("textColor2",mTextColor));
|
||||||
setSelectedTextColor(atts.getColor("selectedTextColor"));
|
setSelectedTextColor(atts.getColor("selectedTextColor"));
|
||||||
ColorStateList*colors=mSelectedText->getTextColors();
|
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();
|
updateInputTextView();
|
||||||
|
|
||||||
setValue(atts.getInt("value",0));
|
setValue(atts.getInt("value",0));
|
||||||
|
Loading…
Reference in New Issue
Block a user