@@ -208,7 +208,8 @@ export class TextView extends TextViewBase {
208208 const color = value instanceof Color ? value . android : value ;
209209 if ( this . layoutView . setBoxStrokeColorStateList ) {
210210 const activeColor = this . strokeColor instanceof Color ? this . strokeColor . android : this . layoutView . getBoxStrokeColor ( ) ;
211- const colorStateList = getFullColorStateList ( activeColor , color ) ;
211+ const disabledColor = this . strokeDisabledColor instanceof Color ? this . strokeDisabledColor . android : undefined ;
212+ const colorStateList = getFullColorStateList ( activeColor , color , disabledColor ) ;
212213 this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
213214 }
214215 }
@@ -217,7 +218,8 @@ export class TextView extends TextViewBase {
217218 const color = value instanceof Color ? value . android : value ;
218219 if ( this . layoutView . setBoxStrokeColorStateList ) {
219220 const activeColor = this . strokeColor instanceof Color ? this . strokeColor . android : this . layoutView . getBoxStrokeColor ( ) ;
220- const colorStateList = getFullColorStateList ( activeColor , color ) ;
221+ const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : undefined ;
222+ const colorStateList = getFullColorStateList ( activeColor , inactiveColor , color ) ;
221223 this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
222224 }
223225 }
@@ -226,7 +228,8 @@ export class TextView extends TextViewBase {
226228 const color = value instanceof Color ? value . android : value ;
227229 if ( this . layoutView . setBoxStrokeColorStateList ) {
228230 const inactiveColor = this . strokeInactiveColor instanceof Color ? this . strokeInactiveColor . android : undefined ;
229- const colorStateList = getFullColorStateList ( color , inactiveColor ) ;
231+ const disabledColor = this . strokeDisabledColor instanceof Color ? this . strokeDisabledColor . android : undefined ;
232+ const colorStateList = getFullColorStateList ( color , inactiveColor , disabledColor ) ;
230233 this . layoutView . setBoxStrokeColorStateList ( colorStateList ) ;
231234 } else {
232235 this . layoutView . setBoxStrokeColor ( color ) ;
0 commit comments