Calculator_Button_5
A Button to control a NumberPickerDialog
╔══════════════════╗
║┌────────────────┐║paddingTop
║│╔═════╗ ╔════╗│║topMargin
║│║Shift║ ║2ndF║│║
║│╚═════╝ ╚════╝│║bottomMargin
╟┼────────────────┼╢Split_1
║│╔══════════════╗│║topMargin
║│║ Button ║│║
║│╚══════════════╝│║bottomMargin
╟┼────────────────┼╢Split_2
║│╔═══╗ ╔═════╗│║topMargin
║│║Hex║ ║Alpha║│║
║│╚═══╝ ╚═════╝│║bottomMargin
║└────────────────┘║paddingBottom
╚══════════════════╝
Content copied to clipboard
Author
"Martin Krischik" «krischik@users.sourceforge.net»
Since
1.0
Constructors
Properties
Link copied to clipboard
background drawable for alpha text
Link copied to clipboard
text colour for alpha text
Link copied to clipboard
Link copied to clipboard
alpha height.
Link copied to clipboard
string to display for alpha text
Link copied to clipboard
alpha width.
Link copied to clipboard
Background for button
Link copied to clipboard
Button text should be displayed in bold
Link copied to clipboard
button height.
Link copied to clipboard
Make buttons inscription smaller when large scale is active.
Link copied to clipboard
text to display on button
Link copied to clipboard
Text colour for button
Link copied to clipboard
text size for button
Link copied to clipboard
button width.
Link copied to clipboard
default text colour for the alpha text
Link copied to clipboard
default text colour for the 2ndF text
Link copied to clipboard
Margin aorund the button
Link copied to clipboard
default text colour for the hex text
Link copied to clipboard
default values have been initialised.
Link copied to clipboard
Make buttons inscription smaller when large scale is active.
Link copied to clipboard
default text colour for the 2ndF text
Link copied to clipboard
default text colour for the shift text
Link copied to clipboard
default button text size
Link copied to clipboard
background drawable for hey text
Link copied to clipboard
hex height.
Link copied to clipboard
Link copied to clipboard
don't display top row (used in Shift, 2ndF, APLHA und MODE key)
Link copied to clipboard
background drawable for 2ndF text
Link copied to clipboard
text colour for 2ndF text
Link copied to clipboard
2ndF height.
Link copied to clipboard
string to display for 2ndF text
Link copied to clipboard
2ndF width.
Link copied to clipboard
background drawable for shift text
Link copied to clipboard
text colour for shift text
Link copied to clipboard
Link copied to clipboard
shift height.
Link copied to clipboard
string to display for shift text
Link copied to clipboard
button width.
Link copied to clipboard
Text size for SHIFT, INV, 2ndF etc.
Functions
Link copied to clipboard
update the text displayed on the button.
Link copied to clipboard
Returns a set of default layout parameters.
Link copied to clipboard
Returns a safe set of layout parameters based on the supplied layout params.
Returns a new set of layout parameters based on the supplied attributes set.
Link copied to clipboard
Initialise default values
Link copied to clipboard
switch display for button