Mercurial > libervia-desktop-kivy
comparison cagou/plugins/plugin_wid_contact_list.kv @ 322:e2b51663d8b8
core, android: new share widget + added Cagou to "share" menu:
- new intent filter to add Cagou to share menu for all media types
- minimum Kivy version is now 1.11.0
- new "Share" widget to display data to share via SàT and select the target
- new core.platform_ module (the suffix "_" avoid trouble with standard "platform"
module), for platform specific code.
- Android intent are now checked on startup and "on_new_intent" events
- if a android.intent.action.SEND action is received (i.e. some data is shared), the
"Share" widget is shown
- new Cagou.share method to share data using "Share" widget
- new Cagou.getAncestorWidget method to easily retrieve an instance of a specific class in
a widget's ancestors
- ContactList's Avatar and ContactItem widgets have been moved to core.common
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 06 Dec 2019 13:23:03 +0100 |
parents | 1b835bcfa663 |
children | 3e2333a11f61 |
comparison
equal
deleted
inserted
replaced
321:a6eb154ba266 | 322:e2b51663d8b8 |
---|---|
72 text: _("no, keep it") | 72 text: _("no, keep it") |
73 on_release: root.hide() | 73 on_release: root.hide() |
74 Widget: | 74 Widget: |
75 | 75 |
76 | 76 |
77 <ContactItem>: | |
78 size_hint: None, None | |
79 width: self.base_width | |
80 height: self.minimum_height | |
81 orientation: 'vertical' | |
82 Avatar: | |
83 id: avatar | |
84 size_hint: 1, None | |
85 height: dp(60) | |
86 source: root.data.get('avatar', app.default_avatar) | |
87 allow_stretch: True | |
88 Label: | |
89 id: jid_label | |
90 size_hint: None, None | |
91 text_size: root.base_width, None | |
92 size: self.texture_size | |
93 text: root.jid | |
94 bold: True | |
95 valign: 'middle' | |
96 halign: 'center' | |
97 | |
98 | |
99 <ContactList>: | 77 <ContactList>: |
100 float_layout: float_layout | 78 float_layout: float_layout |
101 layout: layout | 79 layout: layout |
102 orientation: 'vertical' | 80 orientation: 'vertical' |
103 BoxLayout: | 81 BoxLayout: |