When I disable the EditText with setEnabled(false) or via the xml file android:enabled="false", the background color will be gray:

and if I change the background with a white color android:background="@color/white", I will lose the border:

So my question is, how to disable the EditText (I don’t want any dialog to be pooped up on long-clicking on it) and keep the border as it is?
I found a way to do it: