mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-04-17 21:38:29 +00:00
Allow chat bubble text selection
This commit is contained in:
parent
6aaf8fa959
commit
422eb8e31e
3 changed files with 3 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ Group changes to describe their impact on the project, as follows:
|
||||||
- Added a vu meter for recording & playback volumes (must be enabled in developer settings)
|
- Added a vu meter for recording & playback volumes (must be enabled in developer settings)
|
||||||
- Added support for HDMI audio devices
|
- Added support for HDMI audio devices
|
||||||
- Added video preview during in-call conversation
|
- Added video preview during in-call conversation
|
||||||
|
- Allow text selection in chat bubble (once long press menu is displayed)
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- No longer follow TelecomManager audio endpoint during calls, using our own routing policy
|
- No longer follow TelecomManager audio endpoint during calls, using our own routing policy
|
||||||
|
|
|
||||||
|
|
@ -232,6 +232,7 @@
|
||||||
android:text="@{model.text, default=`Lorem ipsum dolor sit amet`}"
|
android:text="@{model.text, default=`Lorem ipsum dolor sit amet`}"
|
||||||
android:textSize="@{model.isTextEmoji ? @dimen/chat_bubble_emoji_only_text_size : @dimen/chat_bubble_text_size, default=@dimen/chat_bubble_text_size}"
|
android:textSize="@{model.isTextEmoji ? @dimen/chat_bubble_emoji_only_text_size : @dimen/chat_bubble_text_size, default=@dimen/chat_bubble_text_size}"
|
||||||
android:textColor="?attr/color_main2_800"
|
android:textColor="?attr/color_main2_800"
|
||||||
|
android:textIsSelectable="true"
|
||||||
android:gravity="center_vertical|start"
|
android:gravity="center_vertical|start"
|
||||||
android:includeFontPadding="@{!model.isTextEmoji}"
|
android:includeFontPadding="@{!model.isTextEmoji}"
|
||||||
android:visibility="@{model.text.length() > 0 && !model.hasBeenRetracted ? View.VISIBLE : View.GONE}"/>
|
android:visibility="@{model.text.length() > 0 && !model.hasBeenRetracted ? View.VISIBLE : View.GONE}"/>
|
||||||
|
|
|
||||||
|
|
@ -204,6 +204,7 @@
|
||||||
android:text="@{model.text, default=`Lorem ipsum dolor sit amet`}"
|
android:text="@{model.text, default=`Lorem ipsum dolor sit amet`}"
|
||||||
android:textSize="@{model.isTextEmoji ? @dimen/chat_bubble_emoji_only_text_size : @dimen/chat_bubble_text_size, default=@dimen/chat_bubble_text_size}"
|
android:textSize="@{model.isTextEmoji ? @dimen/chat_bubble_emoji_only_text_size : @dimen/chat_bubble_text_size, default=@dimen/chat_bubble_text_size}"
|
||||||
android:textColor="?attr/color_main2_800"
|
android:textColor="?attr/color_main2_800"
|
||||||
|
android:textIsSelectable="true"
|
||||||
android:gravity="center_vertical|start"
|
android:gravity="center_vertical|start"
|
||||||
android:includeFontPadding="@{!model.isTextEmoji}"
|
android:includeFontPadding="@{!model.isTextEmoji}"
|
||||||
android:visibility="@{model.text.length() > 0 && !model.hasBeenRetracted ? View.VISIBLE : View.GONE}"/>
|
android:visibility="@{model.text.length() > 0 && !model.hasBeenRetracted ? View.VISIBLE : View.GONE}"/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue