How to make the text in EditText displayed from the upper left corner, and not in the middle of the height of EditText ?

    1 answer 1

    Write the android:gravity="top|left" the EditText in the markup.

    • Does not work. Perhaps because I'm debugging on Android 2.3? - Kuznetsov SA
    • gravity was added with API Level 1, but still try 4.0+ - Flippy
    • @KuznetsovSergey, your InstantRun may InstantRun buggy. Try to cut it in the studio settings - YuriySPb