mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-17 11:28:06 +00:00
Added missing floating action button for dialpad on call transfer fragment
This commit is contained in:
parent
6e40e3f75f
commit
38ffac31b4
1 changed files with 16 additions and 0 deletions
|
|
@ -230,6 +230,22 @@
|
||||||
app:layout_constraintTop_toBottomOf="@id/search_bar"
|
app:layout_constraintTop_toBottomOf="@id/search_bar"
|
||||||
app:layout_constraintBottom_toBottomOf="parent" />
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||||||
|
|
||||||
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||||
|
android:id="@+id/show_numpad"
|
||||||
|
android:onClick="@{() -> viewModel.switchBetweenKeyboardAndNumpad()}"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_gravity="end|bottom"
|
||||||
|
android:layout_margin="16dp"
|
||||||
|
android:src="@drawable/numpad"
|
||||||
|
android:contentDescription="@string/content_description_show_numpad"
|
||||||
|
android:visibility="@{viewModel.isNumpadVisible || viewModel.multipleSelectionMode ? View.GONE : View.VISIBLE}"
|
||||||
|
app:tint="?attr/color_on_main"
|
||||||
|
app:backgroundTint="?attr/color_main1_500"
|
||||||
|
app:shapeAppearanceOverlay="@style/rounded"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent" />
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
|
|
||||||
<include
|
<include
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue