Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // It doesn't work
- <androidx.appcompat.widget.AppCompatEditText
- android:id="@+id/newEmail"
- style="@style/MainAppTheme.Pax.Date"
- android:layout_width="match_parent"
- android:layout_height="44dp"
- android:background="@color/transparent"
- android:digits="aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ1234567890@._-+%"
- android:focusable="true"
- android:focusableInTouchMode="true"
- android:imeOptions="actionNext"
- android:inputType="textNoSuggestions|textVisiblePassword"
- android:nextFocusUp="@+id/oldEmail"
- android:nextFocusDown="@+id/confirmNewEmail"
- android:onFocusChange="@{data.onFieldFocusChanged}"
- android:onTextChanged="@{(text, start, before, count) -> data.onNewEmailTextChanged(text, start, before, count)}"
- android:text="@{data.newEmail}"
- android:textAllCaps="true"
- android:textColor="@color/ocean_blue"
- tools:ignore="RtlHardcoded,RtlSymmetry" />
- // It works fine
- <androidx.appcompat.widget.AppCompatEditText
- android:id="@+id/panoramaCorporateCardNumber"
- style="@style/MainAppTheme.Pax.Date"
- android:layout_width="match_parent"
- android:layout_height="44dp"
- android:background="@color/transparent"
- android:focusable="true"
- android:focusableInTouchMode="true"
- android:imeOptions="actionSend"
- android:inputType="number"
- android:nextFocusUp="@+id/panoramaCardNumber"
- android:textColor="@color/ocean_blue"
- android:textColorHint="@color/pinkish_grey"
- android:onTextChanged="@{(text, start, before, count) -> pax.setCorporateCardNumber(text.toString())}"
- tools:ignore="RtlHardcoded">
- </androidx.appcompat.widget.AppCompatEditText>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement