The Action Previous is the section on the left of the Actionbar below.
Here is a portion of the actionbar code from this program:
ActionBar:
pos_hint: {'top':1}
ActionView:
ActionPrevious:
title: "Editor & Librarian"
app_icon: 'ottobit O 128.png'
with_previous: 'editor' != root.ids.sm.current
on_press:
root.ids.sm.current = 'editor' if 'editor' != root.ids.sm.current else 'librarian'
root.ids.sm.transition.direction = 'left' if 'editor' != root.ids.sm.current else 'right'
ActionButton:
text: 'Editor'
on_press:
root.ids.sm.current = 'editor'
root.ids.sm.transition.direction = 'right'
ActionButton:
text: 'Librarian'
# color: 1,.2,1,1
on_press:
root.ids.sm.current = 'librarian'
root.ids.sm.transition.direction = 'left'
The ActionPrevious provides the icon, title, and ability to use the ActionPrevious button as a navigation tool.
--
You received this message because you are subscribed to the Google Groups "Kivy users support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/5cb0c735-8f02-4ae1-9a8c-419ecfda5e88%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-...@googlegroups.com.
You can put the action bar in a box layout, you just need things under it to have it be on the top. That would be my first choice.
If you want to use a FloatLayout, Make the position/height of the tabbed panel be calculated based on the position of the ActionBar.
Assuming you have only the action bar and tabbed panel. The height of the tabbed panel is the window height – height of the action bar.
To unsubscribe from this group and stop receiving emails from it, send an email to kivy-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/81f6ac6a-c825-4c08-8d0d-acaa0880ca16%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kivy-users/81f6ac6a-c825-4c08-8d0d-acaa0880ca16%40googlegroups.com.