mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 13:03:36 +00:00
[android] Add place holder in phone field
Signed-off-by: Jean-Baptiste <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
committed by
jeanbaptisteC
parent
c687c850b8
commit
e62196798f
@@ -28,12 +28,12 @@
|
|||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/delete_icon"
|
app:layout_constraintEnd_toStartOf="@+id/delete_icon"
|
||||||
app:layout_constraintStart_toEndOf="@+id/phone_icon"
|
app:layout_constraintStart_toEndOf="@+id/phone_icon"
|
||||||
|
app:hintEnabled="false"
|
||||||
app:layout_constraintTop_toTopOf="parent">
|
app:layout_constraintTop_toTopOf="parent">
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/input"
|
android:id="@+id/input"
|
||||||
style="@style/MwmWidget.Editor.FieldLayout.EditText"
|
style="@style/MwmWidget.Editor.FieldLayout.EditText"
|
||||||
tools:hint="Hint"
|
android:hint="@string/phone_format"
|
||||||
tools:text="Input"
|
|
||||||
android:inputType="phone"/>
|
android:inputType="phone"/>
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|
||||||
|
|||||||
@@ -100,4 +100,5 @@
|
|||||||
<string name="pixelfed" translatable="false">Pixelfed</string>
|
<string name="pixelfed" translatable="false">Pixelfed</string>
|
||||||
<string name="count_label" translatable="false">× %d</string>
|
<string name="count_label" translatable="false">× %d</string>
|
||||||
<string name="kw_label" translatable="false">%s kW</string>
|
<string name="kw_label" translatable="false">%s kW</string>
|
||||||
|
<string name="phone_format" translatable="false">+ XX X XX XX XX</string>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user