[android] Improve button to add new phone number

Signed-off-by: jeanbaptisteC <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2025-08-20 18:59:23 +02:00
committed by jeanbaptisteC
parent ef77314d7a
commit ebb7c45d1a

View File

@@ -21,23 +21,20 @@
</FrameLayout>
<com.google.android.material.textview.MaterialTextView
<com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton
android:id="@+id/tv__append_phone"
android:layout_width="match_parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="?clickableBackground"
android:gravity="center_vertical"
android:padding="@dimen/margin_base"
android:layout_margin="@dimen/margin_base"
android:clickable="true"
android:contentDescription="@string/editor_add_phone"
android:focusable="true"
android:text="@string/editor_add_phone"
android:textAllCaps="true"
android:textAppearance="@style/MwmTextAppearance.Body3"
android:textColor="?colorSecondary"
app:layout_constraintBottom_toBottomOf="@+id/frameLayout" />
<include
layout="@layout/shadow_bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_above="@id/tv__mode_switch"/>
android:textColor="?accentButtonTextColor"
app:fabSize="normal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:icon="@drawable/ic_plus"
app:iconTint="?accentButtonTextColor" />
</androidx.constraintlayout.widget.ConstraintLayout>