Sideband_CE/sbapp/kivymd/uix/refreshlayout/refreshlayout.kv

28 lines
602 B
Plaintext
Raw Normal View History

2022-07-07 22:16:10 +02: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-10 02:49:58 +02:00
rgba: root.circle_color
2022-07-07 22:16:10 +02:00
Ellipse:
pos: self.pos
size: self.size
MDSpinner:
id: spinner
size_hint: None, None
size: dp(30), dp(30)
2023-07-10 02:49:58 +02:00
color: root.spinner_color