openCom-Companion/sbapp/kivymd/uix/refreshlayout/refreshlayout.kv

28 lines
604 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:
rgba: root.theme_cls.primary_dark
Ellipse:
pos: self.pos
size: self.size
MDSpinner:
id: spinner
size_hint: None, None
size: dp(30), dp(30)
color: 1, 1, 1, 1