mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-21 14:09:06 -04:00
Added lazy-loader for complex views
This commit is contained in:
parent
d870585178
commit
ef7dd1e2f2
3 changed files with 528 additions and 135 deletions
|
@ -9,7 +9,6 @@ MDNavigationLayout:
|
|||
ScreenManager:
|
||||
id: screen_manager
|
||||
transition: SlideTransition()
|
||||
# transition: NoTransition()
|
||||
|
||||
MDScreen:
|
||||
name: "starting_screen"
|
||||
|
@ -241,6 +240,39 @@ MDScreen:
|
|||
font_size: "32dp"
|
||||
"""
|
||||
|
||||
layout_loader_screen = """
|
||||
MDScreen:
|
||||
name: "loader_screen"
|
||||
|
||||
BoxLayout:
|
||||
orientation: "vertical"
|
||||
|
||||
MDTopAppBar:
|
||||
title: ""
|
||||
anchor_title: "left"
|
||||
elevation: 0
|
||||
left_action_items:
|
||||
[['menu', None ]]
|
||||
right_action_items:
|
||||
[
|
||||
]
|
||||
|
||||
AnchorLayout:
|
||||
padding: [dp(0), dp(72), dp(0), dp(0)]
|
||||
anchor_x: "center"
|
||||
anchor_y: "center"
|
||||
|
||||
BoxLayout:
|
||||
spacing: dp(36)
|
||||
orientation: 'vertical'
|
||||
size_hint_y: None
|
||||
|
||||
MDIconButton:
|
||||
pos_hint: {"center_x": .5, "center_y": .5}
|
||||
icon: "dots-horizontal"
|
||||
icon_size: "64dp"
|
||||
"""
|
||||
|
||||
layout_connectivity_screen = """
|
||||
MDScreen:
|
||||
name: "connectivity_screen"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue