nice actionbar
This commit is contained in:
parent
7bce2dc8bd
commit
b929e1df8f
@ -1,10 +1,21 @@
|
|||||||
#:import random random.random
|
#:import random random.random
|
||||||
#:import RiseInTransition kivy.uix.screenmanager.RiseInTransition
|
#:import RiseInTransition kivy.uix.screenmanager.RiseInTransition
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<MapScreen>:
|
<MapScreen>:
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
Button:
|
orientation: 'vertical'
|
||||||
text: 'Goto settings'
|
ActionBar:
|
||||||
|
pos_hint: {'top':1}
|
||||||
|
ActionView:
|
||||||
|
use_separator: True
|
||||||
|
ActionPrevious:
|
||||||
|
title: 'Social Cycling'
|
||||||
|
with_previous: False
|
||||||
|
ActionButton:
|
||||||
|
important: True
|
||||||
|
text: 'we ride together'
|
||||||
on_press: root.manager.current = 'compass'
|
on_press: root.manager.current = 'compass'
|
||||||
|
|
||||||
MapView:
|
MapView:
|
||||||
@ -26,8 +37,19 @@
|
|||||||
|
|
||||||
<CompassScreen>:
|
<CompassScreen>:
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
Button:
|
orientation: 'vertical'
|
||||||
text: 'My settings button'
|
|
||||||
Button:
|
ActionBar:
|
||||||
text: 'Back to menu'
|
pos_hint: {'top':1}
|
||||||
|
ActionView:
|
||||||
|
use_separator: True
|
||||||
|
ActionPrevious:
|
||||||
|
title: 'Social Cycling'
|
||||||
|
with_previous: False
|
||||||
|
ActionButton:
|
||||||
|
important: True
|
||||||
|
text: 'set destination'
|
||||||
on_press: root.manager.current = 'map'
|
on_press: root.manager.current = 'map'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user