Android: add h & v scroll bar enable for input
This commit is contained in:
parent
729952fe2a
commit
d0c5161365
@ -380,6 +380,18 @@ public class InputNode extends ViewNode<EditText> implements TextWatcher, View.O
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
|
case "enableHorizontalScrollBar":
|
||||||
|
if (!prop.isBoolean()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
view.setHorizontalScrollBarEnabled(prop.asBoolean().value());
|
||||||
|
break;
|
||||||
|
case "enableVerticalScrollBar":
|
||||||
|
if (!prop.isBoolean()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
view.setVerticalScrollBarEnabled(prop.asBoolean().value());
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
super.blend(view, name, prop);
|
super.blend(view, name, prop);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user