40 lines
745 B
Plaintext
40 lines
745 B
Plaintext
ShowcaseScreen:
|
|
name: 'Switches'
|
|
|
|
BoxLayout:
|
|
size_hint_y: None
|
|
height: '48dp'
|
|
|
|
Label:
|
|
text: 'Switch normal'
|
|
Switch:
|
|
|
|
BoxLayout:
|
|
size_hint_y: None
|
|
height: '48dp'
|
|
|
|
Label:
|
|
text: 'Switch active'
|
|
Switch:
|
|
active: True
|
|
|
|
BoxLayout:
|
|
size_hint_y: None
|
|
height: '48dp'
|
|
|
|
Label:
|
|
text: 'Switch off & disabled'
|
|
Switch:
|
|
disabled: True
|
|
active: False
|
|
|
|
BoxLayout:
|
|
size_hint_y: None
|
|
height: '48dp'
|
|
|
|
Label:
|
|
text: 'Switch on & disabled'
|
|
Switch:
|
|
disabled: True
|
|
active: True
|