From 178194dd4ce00d701d1bad7738de74eb735c7c17 Mon Sep 17 00:00:00 2001 From: surbhi Date: Tue, 24 Jul 2018 15:35:39 +0530 Subject: [PATCH] Implement Ui for adding New Identity feature with navigation Enhancement --- src/bitmessagekivy/main.kv | 94 +++++++++++++++++++++++++++++++++--- src/bitmessagekivy/mpybit.py | 60 +++++++++++++++-------- 2 files changed, 126 insertions(+), 28 deletions(-) diff --git a/src/bitmessagekivy/main.kv b/src/bitmessagekivy/main.kv index 1bc918ae..99869f40 100644 --- a/src/bitmessagekivy/main.kv +++ b/src/bitmessagekivy/main.kv @@ -51,8 +51,10 @@ icon: 'email' text: "test" on_release: app.root.ids.scr_mngr.current = 'test' - - + NavigationDrawerIconButton: + text: "new identity" + icon:'notifications-add' + on_release: app.root.ids.scr_mngr.current = 'newidentity' BoxLayout: orientation: 'vertical' @@ -85,6 +87,8 @@ BoxLayout: id:sc5 Create: id:sc6 + NewIdentity: + id:sc7 Button: height:100 @@ -123,7 +127,7 @@ BoxLayout: GridLayout: rows: 5 cols: 1 - padding: 100,100,100,100 + padding: 60,60,60,60 spacing: 50 BoxLayout: size_hint_y: None @@ -131,8 +135,13 @@ BoxLayout: Label: text: 'FROM' color: 0,0,0,1 - TextInput: - hint_text: 'email' + Spinner: + size_hint: 1,1 + pos_hint: {"x":0,"top":1.} + pos: 10,10 + id: spinner_id + text: '