Created
August 7, 2018 15:44
-
-
Save dinorahtovar/24dc3508a95f59677e38bcbacc37082f to your computer and use it in GitHub Desktop.
Custom Text Input Layout without padding implementation in XML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<com.our.project.common.PasswordTextInputLayout | |
android:id="@+id/login_password_layout" | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:layout_marginEnd="35dp" | |
android:layout_marginStart="35dp" | |
android:layout_marginTop="2dp" | |
android:theme="@style/EditTextBlue" | |
app:errorEnabled="false" | |
app:hintEnabled="true" | |
android:hint="@string/login_password_hint" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" | |
app:layout_constraintTop_toBottomOf="@+id/login_email_layout"> | |
<android.support.design.widget.TextInputEditText | |
android:id="@+id/login_password_input" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:fontFamily="@font/bogle_regular" | |
android:imeOptions="actionDone" | |
android:inputType="textVisiblePassword|textNoSuggestions" | |
android:drawablePadding="4dp" | |
android:drawableStart="@drawable/password_icon" | |
android:textColor="@color/colorBlack" | |
android:textSize="14sp" /> | |
</com.wallet.bcg.ewallet.common.PasswordTextInputLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment