nice actionbar
This commit is contained in:
parent
7bce2dc8bd
commit
b929e1df8f
@ -1,11 +1,22 @@
|
||||
#:import random random.random
|
||||
#:import RiseInTransition kivy.uix.screenmanager.RiseInTransition
|
||||
|
||||
|
||||
|
||||
<MapScreen>:
|
||||
BoxLayout:
|
||||
Button:
|
||||
text: 'Goto settings'
|
||||
on_press: root.manager.current = 'compass'
|
||||
orientation: 'vertical'
|
||||
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'
|
||||
|
||||
MapView:
|
||||
id: mapview
|
||||
@ -26,8 +37,19 @@
|
||||
|
||||
<CompassScreen>:
|
||||
BoxLayout:
|
||||
Button:
|
||||
text: 'My settings button'
|
||||
Button:
|
||||
text: 'Back to menu'
|
||||
on_press: root.manager.current = 'map'
|
||||
orientation: 'vertical'
|
||||
|
||||
ActionBar:
|
||||
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'
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user