@@ -25,7 +25,7 @@ Add the dependency:
2525
2626``` gradle
2727dependencies {
28- compile 'com.github.davidmigloz:number-keyboard:2 .0.1 '
28+ compile 'com.github.davidmigloz:number-keyboard:3 .0.0 '
2929}
3030```
3131
@@ -40,26 +40,26 @@ Use `NumberKeyboard` view in your layout:
4040 xmlns : android =" http://schemas.android.com/apk/res/android"
4141 xmlns : keyboard =" http://schemas.android.com/apk/res-auto"
4242 ...
43- keyboard : keyboardType =" integer"
43+ keyboard : numberkeyboard_keyboardType =" integer"
4444 ... />
4545```
4646
4747#### Attributes
4848
49- - ` keyboard:keyboardType ="[integer|decimal|fingerprint|custom]" ` (required): defines the type of keyboard.
49+ - ` keyboard:numberkeyboard_keyboardType ="[integer|decimal|fingerprint|custom]" ` (required): defines the type of keyboard.
5050 - ` integer ` : numbers and backspace keys.
5151 - ` decimal ` : numbers, comma and backspace keys.
5252 - ` fingerprint ` : numbers, fingerprint and backspace keys.
5353 - ` custom ` : numbers and defined auxiliary keys.
54- - ` keyboard:keyWidth ="[dimension]" ` (default: ` match_parent ` ): key width (` wrap_content ` not allowed).
55- - ` keyboard:keyHeight ="[dimension]" ` (default: ` match_parent ` ): key height (` wrap_content ` not allowed).
56- - ` keyboard:keyPadding ="[dimension]" ` (default: ` 16dp ` ): key padding.
57- - ` keyboard:numberKeyBackground ="[reference]" ` (default: circle): number keys background drawable.
58- - ` keyboard:numberKeyTextColor ="[reference]" ` (default: dark blue): number keys text color.
59- - ` keyboard:leftAuxBtnIcon ="[reference]" ` (default: none): if ` keyboardType="custom" ` , icon shown in left auxiliary button.
60- - ` keyboard:leftAuxBtnBackground ="[reference]" ` (default: none): if ` keyboardType="custom" ` , left auxiliary button background.
61- - ` keyboard:rightAuxBtnIcon ="[reference]" ` (default: none): if ` keyboardType="custom" ` , icon shown in right auxiliary button.
62- - ` keyboard:rightAuxBtnBackground ="[reference]" ` (default: none): if ` keyboardType="custom" ` , right auxiliary button background.
54+ - ` keyboard:numberkeyboard_keyWidth ="[dimension]" ` (default: ` match_parent ` ): key width (` wrap_content ` not allowed).
55+ - ` keyboard:numberkeyboard_keyHeight ="[dimension]" ` (default: ` match_parent ` ): key height (` wrap_content ` not allowed).
56+ - ` keyboard:numberkeyboard_keyPadding ="[dimension]" ` (default: ` 16dp ` ): key padding.
57+ - ` keyboard:numberkeyboard_numberKeyBackground ="[reference]" ` (default: circle): number keys background drawable.
58+ - ` keyboard:numberkeyboard_numberKeyTextColor ="[reference]" ` (default: dark blue): number keys text color.
59+ - ` keyboard:numberkeyboard_leftAuxBtnIcon ="[reference]" ` (default: none): if ` keyboardType="custom" ` , icon shown in left auxiliary button.
60+ - ` keyboard:numberkeyboard_leftAuxBtnBackground ="[reference]" ` (default: none): if ` keyboardType="custom" ` , left auxiliary button background.
61+ - ` keyboard:numberkeyboard_rightAuxBtnIcon ="[reference]" ` (default: none): if ` keyboardType="custom" ` , icon shown in right auxiliary button.
62+ - ` keyboard:numberkeyboard_rightAuxBtnBackground ="[reference]" ` (default: none): if ` keyboardType="custom" ` , right auxiliary button background.
6363
6464#### Methods
6565
0 commit comments