/ src / bitmessagekivy / kv / myaddress.kv
myaddress.kv
 1  <MyAddress>:
 2      name: 'myaddress'
 3      BoxLayout:
 4          id: main_box
 5          orientation: 'vertical'
 6          spacing: dp(5)
 7          SearchBar:
 8              id: search_bar
 9          GridLayout:
10              id: identi_tag
11              padding: [20, 0, 0, 5]
12              cols: 1
13              size_hint_y: None
14              height: self.minimum_height
15              MDLabel:
16                  id: tag_label
17                  text: app.tr._('My Addresses')
18                  font_style: 'Subtitle2'
19          FloatLayout:
20              MDScrollViewRefreshLayout:
21                  id: refresh_layout
22                  refresh_callback: root.refresh_callback
23                  root_layout: root
24                  MDList:
25                      id: ml
26      Loader:
27  
28  
29  <ToggleBtn>:
30      size_hint: None, None
31      size: dp(36), dp(48)
32      pos_hint: {'center_x': .95, 'center_y': .4}
33      on_active: app.root.ids.id_myaddress.toggleAction(self)