mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Updated call transfer icon
This commit is contained in:
parent
489aece7c5
commit
24cbcd3937
6 changed files with 18 additions and 19 deletions
|
|
@ -155,7 +155,7 @@ class CoreContext @UiThread constructor(val context: Context) : HandlerThread("C
|
|||
org.linphone.R.string.toast_call_transfer_successful,
|
||||
displayName
|
||||
)
|
||||
val icon = org.linphone.R.drawable.transfer
|
||||
val icon = org.linphone.R.drawable.phone_transfer
|
||||
|
||||
greenToastToShowEvent.postValue(Event(Pair(message, icon)))
|
||||
}
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ class CallActivity : GenericActivity() {
|
|||
it.consume { remote ->
|
||||
showGreenToast(
|
||||
getString(R.string.toast_call_transfer_in_progress, remote),
|
||||
R.drawable.transfer
|
||||
R.drawable.phone_transfer
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
app/src/main/res/drawable/phone_transfer.xml
Normal file
12
app/src/main/res/drawable/phone_transfer.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="24dp"
|
||||
android:height="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
<path
|
||||
android:pathData="M20.989,17.164C20.822,18.434 20.198,19.6 19.234,20.444C18.27,21.288 17.031,21.752 15.75,21.75C8.306,21.75 2.25,15.694 2.25,8.25C2.248,6.969 2.712,5.73 3.556,4.766C4.4,3.802 5.566,3.178 6.836,3.011C7.157,2.972 7.483,3.037 7.763,3.198C8.044,3.359 8.266,3.606 8.394,3.903L10.374,8.324V8.335C10.473,8.562 10.514,8.811 10.493,9.057C10.472,9.304 10.39,9.542 10.255,9.75C10.238,9.775 10.221,9.799 10.202,9.822L8.25,12.136C8.952,13.563 10.445,15.042 11.89,15.746L14.172,13.804C14.195,13.786 14.218,13.768 14.243,13.752C14.45,13.613 14.689,13.528 14.937,13.505C15.185,13.483 15.436,13.522 15.665,13.621L15.677,13.626L20.093,15.606C20.391,15.734 20.639,15.955 20.8,16.236C20.962,16.517 21.028,16.842 20.989,17.164ZM19.5,16.976C19.5,16.976 19.493,16.976 19.49,16.976L15.083,15.002L12.801,16.944C12.778,16.963 12.755,16.98 12.731,16.997C12.515,17.141 12.266,17.226 12.007,17.245C11.748,17.264 11.489,17.215 11.255,17.104C9.499,16.255 7.748,14.518 6.899,12.781C6.787,12.548 6.736,12.29 6.753,12.033C6.769,11.775 6.852,11.525 6.993,11.309C7.009,11.283 7.027,11.259 7.046,11.237L9,8.92L7.031,4.514C7.031,4.51 7.031,4.506 7.031,4.503C6.122,4.621 5.287,5.067 4.683,5.757C4.079,6.447 3.748,7.333 3.75,8.25C3.753,11.431 5.019,14.482 7.269,16.731C9.518,18.981 12.568,20.246 15.75,20.25C16.666,20.253 17.552,19.922 18.243,19.32C18.933,18.717 19.38,17.883 19.5,16.975V16.976Z"
|
||||
android:fillColor="#4e6074"/>
|
||||
<path
|
||||
android:pathData="M11.508,5.753C11.507,5.672 11.524,5.591 11.555,5.516C11.586,5.441 11.631,5.373 11.689,5.315C11.747,5.257 11.815,5.212 11.89,5.181C11.965,5.15 12.046,5.134 12.127,5.134L15.887,5.134L14.754,4.002C14.638,3.886 14.573,3.728 14.573,3.564C14.573,3.4 14.638,3.242 14.754,3.126C14.87,3.01 15.028,2.945 15.192,2.945C15.356,2.945 15.514,3.01 15.63,3.126L17.819,5.315C17.935,5.431 18.001,5.589 18.001,5.753C18.001,5.917 17.935,6.075 17.819,6.191L15.63,8.38C15.514,8.496 15.356,8.562 15.192,8.562C15.028,8.562 14.87,8.496 14.754,8.38C14.638,8.264 14.573,8.107 14.573,7.942C14.573,7.778 14.638,7.621 14.754,7.505L15.887,6.372L12.127,6.373C12.046,6.373 11.965,6.357 11.89,6.326C11.815,6.295 11.747,6.249 11.689,6.191C11.631,6.134 11.586,6.066 11.555,5.99C11.524,5.915 11.507,5.835 11.508,5.753Z"
|
||||
android:fillColor="#4e6074"/>
|
||||
</vector>
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:name="vector"
|
||||
android:width="28dp"
|
||||
android:height="28dp"
|
||||
android:viewportWidth="28"
|
||||
android:viewportHeight="28">
|
||||
<path
|
||||
android:name="path"
|
||||
android:pathData="M 20.3 18.05 C 19.175 18.05 18.095 17.87 17.087 17.537 C 16.997 17.51 16.898 17.492 16.808 17.492 C 16.574 17.492 16.349 17.582 16.169 17.753 L 14.189 19.733 C 11.642 18.437 9.554 16.358 8.258 13.802 L 10.238 11.813 C 10.49 11.579 10.562 11.228 10.463 10.913 C 10.13 9.905 9.95 8.825 9.95 7.7 C 9.95 7.205 9.545 6.8 9.05 6.8 L 5.9 6.8 C 5.405 6.8 5 7.205 5 7.7 C 5 16.151 11.849 23 20.3 23 C 20.795 23 21.2 22.595 21.2 22.1 L 21.2 18.95 C 21.2 18.455 20.795 18.05 20.3 18.05 Z M 6.827 8.6 L 8.177 8.6 C 8.24 9.392 8.375 10.175 8.582 10.922 L 7.502 12.011 C 7.142 10.922 6.908 9.788 6.827 8.6 Z M 19.4 21.173 C 18.212 21.092 17.06 20.858 15.98 20.489 L 17.06 19.409 C 17.825 19.625 18.608 19.76 19.4 19.814 L 19.4 21.173 Z M 18.5 14 L 23 9.5 L 18.5 5 L 18.5 7.7 L 14.9 7.7 L 14.9 11.3 L 18.5 11.3 L 18.5 14 Z"
|
||||
android:fillColor="#c0d1d9"
|
||||
android:strokeWidth="1"/>
|
||||
</vector>
|
||||
|
|
@ -48,7 +48,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:src="@drawable/transfer"
|
||||
android:src="@drawable/phone_transfer"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintEnd_toEndOf="@id/transfer_label"
|
||||
app:layout_constraintStart_toStartOf="@id/transfer_label"
|
||||
|
|
@ -236,7 +236,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="15dp"
|
||||
android:text="@string/call_action_pause_call"
|
||||
android:text="@{viewModel.isPaused ? @string/call_action_resume_call : @string/call_action_pause_call, default=@string/call_action_pause_call}"
|
||||
app:layout_constraintEnd_toStartOf="@id/record_call_label"
|
||||
app:layout_constraintStart_toEndOf="@id/chat_label"
|
||||
app:layout_constraintTop_toBottomOf="@id/pause_call" />
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
android:layout_marginTop="@dimen/call_extra_button_top_margin"
|
||||
android:padding="@dimen/call_button_icon_padding"
|
||||
android:background="@drawable/in_call_button_background_red"
|
||||
android:src="@drawable/transfer"
|
||||
android:src="@drawable/phone_transfer"
|
||||
app:tint="@color/in_call_button_tint_color"
|
||||
app:layout_constraintDimensionRatio="1:1"
|
||||
app:layout_constraintStart_toStartOf="@id/transfer_label"
|
||||
|
|
@ -228,7 +228,7 @@
|
|||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="15dp"
|
||||
android:text="@string/call_action_pause_call"
|
||||
android:text="@{viewModel.isPaused ? @string/call_action_resume_call : @string/call_action_pause_call, default=@string/call_action_pause_call}"
|
||||
app:layout_constraintTop_toBottomOf="@id/pause_call"
|
||||
app:layout_constraintStart_toStartOf="@id/new_call_label"
|
||||
app:layout_constraintEnd_toEndOf="@id/new_call_label" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue