[android] Add place holder in phone field

Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
Jean-Baptiste
2025-11-15 22:03:54 +01:00
committed by jeanbaptisteC
parent c687c850b8
commit e62196798f
2 changed files with 3 additions and 2 deletions

View File

@@ -28,12 +28,12 @@
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/delete_icon"
app:layout_constraintStart_toEndOf="@+id/phone_icon"
app:hintEnabled="false"
app:layout_constraintTop_toTopOf="parent">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/input"
style="@style/MwmWidget.Editor.FieldLayout.EditText"
tools:hint="Hint"
tools:text="Input"
android:hint="@string/phone_format"
android:inputType="phone"/>
</com.google.android.material.textfield.TextInputLayout>

View File

@@ -100,4 +100,5 @@
<string name="pixelfed" translatable="false">Pixelfed</string>
<string name="count_label" translatable="false">× %d</string>
<string name="kw_label" translatable="false">%s kW</string>
<string name="phone_format" translatable="false">+ XX X XX XX XX</string>
</resources>