mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 22:53:43 +00:00
[android] Move hint property to TextInputLayout
Signed-off-by: jeanbaptisteC <jeanbaptiste.charron@outlook.fr>
This commit is contained in:
committed by
Konstantin Pastbin
parent
661445a053
commit
ca720d7712
@@ -20,6 +20,7 @@
|
|||||||
style="?fontBody1"
|
style="?fontBody1"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:hint="@string/name"
|
||||||
android:textColorHint="?android:textColorSecondary"
|
android:textColorHint="?android:textColorSecondary"
|
||||||
app:endIconMode="custom"
|
app:endIconMode="custom"
|
||||||
app:endIconCheckable="false"
|
app:endIconCheckable="false"
|
||||||
@@ -31,7 +32,6 @@
|
|||||||
style="@style/MwmWidget.Editor.CustomTextInput"
|
style="@style/MwmWidget.Editor.CustomTextInput"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:hint="@string/name"
|
|
||||||
android:padding="@dimen/margin_half_double_plus"
|
android:padding="@dimen/margin_half_double_plus"
|
||||||
android:textAlignment="viewStart"
|
android:textAlignment="viewStart"
|
||||||
android:inputType="textCapSentences"
|
android:inputType="textCapSentences"
|
||||||
@@ -94,6 +94,7 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_below="@id/rl__bookmark_set"
|
android:layout_below="@id/rl__bookmark_set"
|
||||||
android:layout_margin="@dimen/margin_half"
|
android:layout_margin="@dimen/margin_half"
|
||||||
|
android:hint="@string/placepage_personal_notes_hint"
|
||||||
android:textColorHint="?android:textColorSecondary">
|
android:textColorHint="?android:textColorSecondary">
|
||||||
|
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
@@ -102,7 +103,6 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:padding="@dimen/margin_half_double_plus"
|
android:padding="@dimen/margin_half_double_plus"
|
||||||
android:hint="@string/placepage_personal_notes_hint"
|
|
||||||
android:inputType="textMultiLine"
|
android:inputType="textMultiLine"
|
||||||
android:textAlignment="viewStart" />
|
android:textAlignment="viewStart" />
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
android:id="@+id/edit_list_name_input"
|
android:id="@+id/edit_list_name_input"
|
||||||
app:hintAnimationEnabled="false"
|
app:hintAnimationEnabled="false"
|
||||||
style="@style/MwmWidget.Editor.CustomTextInput"
|
style="@style/MwmWidget.Editor.CustomTextInput"
|
||||||
|
android:hint="@string/list"
|
||||||
android:textColorHint="?android:textColorSecondary"
|
android:textColorHint="?android:textColorSecondary"
|
||||||
app:endIconMode="custom"
|
app:endIconMode="custom"
|
||||||
app:endIconDrawable="@drawable/ic_clear_rounded"
|
app:endIconDrawable="@drawable/ic_clear_rounded"
|
||||||
@@ -40,7 +41,6 @@
|
|||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/edit_list_name_view"
|
android:id="@+id/edit_list_name_view"
|
||||||
style="@style/MwmWidget.Editor.CustomTextInput"
|
style="@style/MwmWidget.Editor.CustomTextInput"
|
||||||
android:hint="@string/list"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
|
|||||||
@@ -66,18 +66,19 @@
|
|||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/osm_username_container"
|
android:id="@+id/osm_username_container"
|
||||||
style="@style/MwmWidget.Editor.CustomTextInput"
|
style="@style/MwmWidget.Editor.CustomTextInput"
|
||||||
|
android:hint="@string/email_or_username"
|
||||||
android:textColorHint="?android:textColorSecondary"
|
android:textColorHint="?android:textColorSecondary"
|
||||||
app:endIconMode="custom">
|
app:endIconMode="custom">
|
||||||
<com.google.android.material.textfield.TextInputEditText
|
<com.google.android.material.textfield.TextInputEditText
|
||||||
android:id="@+id/osm_username"
|
android:id="@+id/osm_username"
|
||||||
style="@style/MwmWidget.Editor.FieldLayout.EditText"
|
style="@style/MwmWidget.Editor.FieldLayout.EditText"
|
||||||
android:autofillHints="emailAddress"
|
android:autofillHints="emailAddress" />
|
||||||
android:hint="@string/email_or_username" />
|
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
<com.google.android.material.textfield.TextInputLayout
|
<com.google.android.material.textfield.TextInputLayout
|
||||||
android:id="@+id/osm_password_container"
|
android:id="@+id/osm_password_container"
|
||||||
style="@style/MwmWidget.Editor.CustomTextInput"
|
style="@style/MwmWidget.Editor.CustomTextInput"
|
||||||
android:layout_marginTop="@dimen/margin_base"
|
android:layout_marginTop="@dimen/margin_base"
|
||||||
|
android:hint="@string/password"
|
||||||
android:textColorHint="?android:textColorSecondary"
|
android:textColorHint="?android:textColorSecondary"
|
||||||
app:endIconMode="password_toggle"
|
app:endIconMode="password_toggle"
|
||||||
app:endIconTint="?android:textColorSecondary">
|
app:endIconTint="?android:textColorSecondary">
|
||||||
@@ -85,7 +86,6 @@
|
|||||||
android:id="@+id/osm_password"
|
android:id="@+id/osm_password"
|
||||||
style="@style/MwmWidget.Editor.FieldLayout.EditText"
|
style="@style/MwmWidget.Editor.FieldLayout.EditText"
|
||||||
android:autofillHints="password"
|
android:autofillHints="password"
|
||||||
android:hint="@string/password"
|
|
||||||
android:inputType="textPassword" />
|
android:inputType="textPassword" />
|
||||||
</com.google.android.material.textfield.TextInputLayout>
|
</com.google.android.material.textfield.TextInputLayout>
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
|
|||||||
@@ -14,11 +14,11 @@
|
|||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:hint="@string/editor_edit_place_name_hint"
|
||||||
android:textColorHint="?android:textColorSecondary">
|
android:textColorHint="?android:textColorSecondary">
|
||||||
<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"
|
||||||
android:hint="@string/editor_edit_place_name_hint"
|
|
||||||
android:inputType="textCapSentences"
|
android:inputType="textCapSentences"
|
||||||
android:padding="@dimen/margin_base"
|
android:padding="@dimen/margin_base"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
|
|||||||
Reference in New Issue
Block a user