/ src / bitmessagekivy / kv / chat_list.kv
chat_list.kv
 1  <ChatList>:
 2  	name: 'chlist'
 3      canvas.before:
 4          Color:
 5              rgba: 1,1,1,1
 6          Rectangle:
 7              pos: self.pos
 8              size: self.size
 9      MDTabs:
10          id: chat_panel
11          tab_display_mode:'text'
12  
13          Tab:
14              text: app.tr._("Chats")
15          	BoxLayout:
16                  id: chat_box
17                  orientation: 'vertical'
18                  ScrollView:
19                      id: scroll_y
20                      do_scroll_x: False
21                      MDList:
22                          id: ml
23                          MDLabel:
24                              font_style: 'Caption'
25                              theme_text_color: 'Primary'
26                              text: app.tr._('No Chat')
27                              halign: 'center'
28                              size_hint_y: None
29                              bold: True
30                              valign: 'top'
31                      #     OneLineAvatarListItem:
32                      #         text: "Single-line item with avatar"
33                      #         divider: None
34                      #         _no_ripple_effect: True
35                      #         ImageLeftWidget:
36                      #             source: './images/text_images/A.png'
37                      #     OneLineAvatarListItem:
38                      #         text: "Single-line item with avatar"
39                      #         divider: None
40                      #         _no_ripple_effect: True
41                      #         ImageLeftWidget:
42                      #             source: './images/text_images/B.png'
43                      #     OneLineAvatarListItem:
44                      #         text: "Single-line item with avatar"
45                      #         divider: None
46                      #         _no_ripple_effect: True
47                      #         ImageLeftWidget:
48                      #             source: './images/text_images/A.png'
49          Tab:
50              text: app.tr._("Contacts")
51              BoxLayout:
52                  id: contact_box
53                  orientation: 'vertical'
54                  ScrollView:
55                      id: scroll_y
56                      do_scroll_x: False
57                      MDList:
58                          id: ml