compile 'com.bigbangbutton:editcodeview:1.0.6'
Attrs | Type |
---|---|
textSize | dimension |
textColor | color |
codeLength | integer |
codeHiddenMode | boolean |
codeHiddenMask | string |
underlineStroke | dimension |
underlineReductionScale | float |
underlineFilledColor | color |
underlineSelectedColor | color |
underlineBaseColor | color |
underlineCursorColor | color |
underlineCursorEnabled | boolean |
font_style | enum |
EditCodeView editCodeView = (EditCodeView) findViewById(R.id.edit_code);
editCodeView.setEditCodeListener(new EditCodeListener() {
@Override
public void onCodeReady(String code) {
// ...
}
});
Use the paddingBottom that would raise the underline to the text
The library is distributed under the MIT LICENSE.