diff --git a/src/bitmessagekivy/main.kv b/src/bitmessagekivy/main.kv index 1d86c133..4b4316d4 100644 --- a/src/bitmessagekivy/main.kv +++ b/src/bitmessagekivy/main.kv @@ -54,16 +54,6 @@ BoxLayout: size_hint_x: 0.1 pos_hint: {'x': 0.8, 'y':0.4} on_press: app.say_exit() - ActionBar: - size_hint_y: 0.4 - size_hint_x: 0.1 - pos_hint: {'x': 0.99, 'y':0.35} - background_color: (0,0,0,0) - ActionView: - use_separator: True - ActionPrevious: - with_previous: True - on_release: app.set_previous_screen() ScreenManager: id: scr_mngr @@ -352,8 +342,26 @@ BoxLayout: : name: 'page' + ActionBar: + background_color:0,0,0,0 + pos_hint: {'top':0.98} + size_hint_y: 0.05 + size_hint_x: 0.07 + ActionView: + ActionPrevious: + with_previous: False + app_icon: 'images/back-button.png' + markup:True + font_size:"16dp" + on_release: app.set_previous_screen() Label: - text: 'I am on description of my email yooooo' + text:"Message sent on 5 september 2018 05:44" + color: 0,0,0,1 + size: self.texture_size + size_hint: (None, None) + + Label: + text: 'I am on description of my email yooooo I am on description of my email yooooo description description\nI am on description of my email yooooo am on description of my email yooooo description description \nI am on description of my email yooooo I am on description of my email yooooo description description \nI am on description of my email yooooo am on description of my email yooooo description description \nI am on description of my email yooooo I am on description of my email yooooo description description \nI am on description of my email yooooo am on description of my email yooooo description description \nI am on description of my email yooooo I am on description of my email yooooo description description \nI am on description of my email yooooo am on description of my email yooooo description description \nI am on description of my email yooooo I am on description of my email yooooo description description \nI am on description of my email yooooo am on description of my email yooooo description description \nI am on description of my email yooooo I am on description of my email yooooo description description \nI am on description of my email yooooo am on description of my email yooooo description description \nI am on description of my email yooooo I am on description of my email yooooo description description\nI am on description of my email yooooo I am on description of my email yooooo description description\nI am on description of my email yooooo I am on description of my email yooooo description description\nI am on description of my email yooooo I am on description of my email yooooo description description\nI am on description of my email yooooo I am on description of my email yooooo description description\n' color: 0,0,0,1 : diff --git a/src/bitmessagekivy/mpybit.py b/src/bitmessagekivy/mpybit.py index b8d0a724..a5241e0a 100644 --- a/src/bitmessagekivy/mpybit.py +++ b/src/bitmessagekivy/mpybit.py @@ -50,7 +50,7 @@ class NavigateApp(App, TextInput): def set_previous_screen(self): if self.root.ids.scr_mngr.current != 'inbox': self.root.ids.scr_mngr.transition.direction = 'left' - self.root.ids.scr_mngr.current = self.root.ids.scr_mngr.previous() + self.root.ids.scr_mngr.current = 'inbox' def getCurrentAccountData(self, text): """Get Current Address Account Data.""" diff --git a/src/images/back-button.png b/src/images/back-button.png new file mode 100644 index 00000000..e260b08b Binary files /dev/null and b/src/images/back-button.png differ