• Latest Code...

    Featured Post

    Implementing Hilt in a Kotlin Android Jetpack Compose Project with MVVM Architecture

     In modern Android development, maintaining a scalable codebase can be challenging, especially when it comes to dependency management. Hilt,...

    How to make EditText not editable in android

    EditText is a thin veneer over TextView that configures itself to be editable.
      
    Here is the simple code for make not editable or disable in android;

    edittext.setKeyListener(null);

    or 

    edittext.setFocusable(false);
    edittext.setClickable(true);

    More about EditText.

    Happy Coding!!!

    Contact Form

    Name

    Email *

    Message *