1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- # Goblinoid: Experience all of MediaGoblin on an Android Device
- # Copyright (C) 2015 Dylan Jeffers
- #
- # This program is free software: you can redistribute it and/or modify
- # it under the terms of the GNU General Public License as published by
- # the Free Software Foundation, either version 3 of the License, or
- # (at your option) any later version.
- #
- # This program is distributed in the hope that it will be useful,
- # but WITHOUT ANY WARRANTY; without even the implied warranty of
- # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- # GNU General Public License for more details.
- #
- # You should have received a copy of the GNU General Public License
- # along with this program. If not, see <http://www.gnu.org/licenses/>.
- #action bar template
- <GoblinBar>:
- pos_hint: {'top':1}
- ActionView:
- use_separator: True
- ActionPrevious:
- with_previous: False
- app_icon: 'images/logo.png'
- # on_touch_down: app.open_view('action', True)
- ActionOverflow:
- ActionButton:
- text: 'Settings'
- # on_release: app.open_view('settings', False)
- #options bar allows for easy navigation between app's main screens
- <OptionsBar>:
- anchor_y: 'bottom'
- size_hint: (1.0, 0.1)
- BoxLayout:
- cols: 3
- Button:
- text: 'Feed'
- on_release: root.pressed = 'feed'
- Button:
- text: 'Media'
- on_release: root.pressed = 'media'
- Button:
- text: 'Profile'
- on_release: root.pressed = 'profile'
- <ActionLayout>
- asm: asm
- BoxLayout:
- orientation: 'vertical'
- GoblinBar:
- ScreenManager:
- id: asm
- OptionsBar:
- on_pressed: root.open_action_view(self.pressed, False)
- <SettingsScreen>:
- BoxLayout:
- orientation: 'vertical'
- Label:
- text_size: self.size
- valign: 'middle'
- halign: 'center'
- text: 'Settings Screen currently under development. If there is a particular setting you would like the app to have, please email the devel list or me personally at sapientechnology@openmailbox.com'
- Button:
- size_hint_y: 0.2
- text:
- 'return to feed'
- on_release:
- app.open_view('action', True)
|