In order to disable EditText (TextFileds) Blinking Cursor in your Android Activity you can either add a line of code in your activity layout.xml file or in the Activity Java Class file.
To Hide EditText Cursor and the below line in Layout.xml,
android:cursorVisible="false"
Example:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical" >
<EditText
android:id="@+id/editText1"
android:layout_width="match_parent"
android:layout_height="55sp"
android:layout_margin="4dp"
android:cursorVisible="false"
android:ems="10"
android:inputType="textPassword" >
<requestFocus />
</EditText>
</LinearLayout>
More Posts related to android,
- appcompat_v7 errors after updates to API level 21 Material Theme
- adb: The Android Debug Bridge and Commands
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- How to make TextView Text Transparent [Android]
- Android is starting optimizing... app 1 of 1
- How to make Text in TextView bold and italic in Android
- Android Development - How to switch between two Activities
- Android : IOException: Unable to open sync connection!
- Android Toolbar example with appcompat_v7 21
- How to Change Android Title Bar Color?
- How to Add Padding to Android TextView
- JavaScript : redirect page to other url
- Programmatically Send an Email from Android App using Intent
- What is Android Toast.LENGTH_SHORT and Toast. LENGTH_LONG durations
- [Soluiton] You already have the latest version of Android Studio installed
- Detect swipes on Android Activity
- Add Buttons at the bottom of Android Layout xml file
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Hide Navigation Bar from Android Screen Activity
- Android Disable EditText from Auto Focus on Activity load
- Toast not getting displayed Android App
- How to Enable Developers Option in Android Phones Settings
- Android : Duplicate registration for activity com.example.abc
- Android ListView turns Black or Flickers while Scrolling
- Android Studio Ctrl Shift o auto import not working
More Posts:
- How to Center Align Image in Bootstrap - CSS
- Save TextEdit file as Microsoft Word File .docx extension - Microsoft
- Mac: Change Screenshot Location - MacOS
- Python: How to install psycopg2 using pip - PIP
- Java: Fix SAXParseException: :1:1: Content is not allowed in prolog. - Java
- [Solved] Error launching studio - Android-Studio
- How to Preview HTML, CSS, JavaScript in Notepad++ - NotepadPlusPlus
- Add imports in eclipse shortcut key combinations - Eclipse