Created
October 21, 2017 09:34
-
-
Save pawanchauhan05/bb9b0dc09435db674a26955dd3c82126 to your computer and use it in GitHub Desktop.
disable by default focus getting by EditText
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
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
android:id="@+id/mainLayout" | |
android:descendantFocusability="beforeDescendants" | |
android:focusableInTouchMode="true" > | |
<EditText | |
android:id="@+id/password" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:ems="10" | |
android:imeOptions="flagNoExtractUi" | |
android:inputType="textPassword" | |
android:maxLength="30" > | |
</EditText> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment