Made SIP URI in call selectable
This commit is contained in:
parent
98f6206e75
commit
a8d8690d92
5 changed files with 6 additions and 1 deletions
|
@ -20,6 +20,7 @@ Group changes to describe their impact on the project, as follows:
|
||||||
- Added hidden setting to disable video completely
|
- Added hidden setting to disable video completely
|
||||||
- Added hidden setting to prevent adding / editing / removing native contacts
|
- Added hidden setting to prevent adding / editing / removing native contacts
|
||||||
- Added hidden setting to protect settings access using account password
|
- Added hidden setting to protect settings access using account password
|
||||||
|
- SIP URI in call can be selected using long press
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Account EXPIRES is now set to 1 month instead of 1 year for sip.linphone.org accounts
|
- Account EXPIRES is now set to 1 month instead of 1 year for sip.linphone.org accounts
|
||||||
|
|
|
@ -109,6 +109,7 @@
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{callsViewModel.currentCallData.displayableAddress, default=`sip:bilbo.baggins@sip.linphone.org`}"
|
android:text="@{callsViewModel.currentCallData.displayableAddress, default=`sip:bilbo.baggins@sip.linphone.org`}"
|
||||||
|
android:textIsSelectable="true"
|
||||||
app:layout_constraintBottom_toTopOf="@id/buttons"
|
app:layout_constraintBottom_toTopOf="@id/buttons"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
|
|
@ -110,6 +110,7 @@
|
||||||
android:gravity="center"
|
android:gravity="center"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{callsViewModel.currentCallData.isConferenceCall ? callsViewModel.currentCallData.remoteConferenceSubject : callsViewModel.currentCallData.displayableAddress, default=`sip:bilbo.baggins@sip.linphone.org`}"
|
android:text="@{callsViewModel.currentCallData.isConferenceCall ? callsViewModel.currentCallData.remoteConferenceSubject : callsViewModel.currentCallData.displayableAddress, default=`sip:bilbo.baggins@sip.linphone.org`}"
|
||||||
|
android:textIsSelectable="true"
|
||||||
app:layout_constraintBottom_toTopOf="@id/buttons"
|
app:layout_constraintBottom_toTopOf="@id/buttons"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
|
|
@ -87,7 +87,8 @@
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
style="@style/call_list_active_sip_uri_font"
|
style="@style/call_list_active_sip_uri_font"
|
||||||
android:text="@{data.displayableAddress, default=`bilbo.baggins@sip.linphone.org`}"/>
|
android:text="@{data.displayableAddress, default=`bilbo.baggins@sip.linphone.org`}"
|
||||||
|
android:textIsSelectable="true"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
<!-- Data binding doesn't work on styles... :'( -->
|
<!-- Data binding doesn't work on styles... :'( -->
|
||||||
|
|
|
@ -98,6 +98,7 @@
|
||||||
android:ellipsize="end"
|
android:ellipsize="end"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="@{callsViewModel.currentCallData.displayableAddress, default=`sip:johndoe@sip.linphone.org`}"
|
android:text="@{callsViewModel.currentCallData.displayableAddress, default=`sip:johndoe@sip.linphone.org`}"
|
||||||
|
android:textIsSelectable="true"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/remote_name" />
|
app:layout_constraintTop_toBottomOf="@id/remote_name" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue