Sideband/sbapp/kivymd/uix/refreshlayout/refreshlayout.kv

28 lines
602 B
Plaintext
Raw Normal View History

2022-07-07 14:16:10 -06:00
#:import Window kivy.core.window.Window
<RefreshSpinner>
AnchorLayout:
id: body_spinner
size_hint: None, None
size: dp(46), dp(46)
y: Window.height
pos_hint: {'center_x': .5}
anchor_x: 'center'
anchor_y: 'center'
canvas:
Clear
Color:
2023-07-09 18:49:58 -06:00
rgba: root.circle_color
2022-07-07 14:16:10 -06:00
Ellipse:
pos: self.pos
size: self.size
MDSpinner:
id: spinner
size_hint: None, None
size: dp(30), dp(30)
2023-07-09 18:49:58 -06:00
color: root.spinner_color