I have been reading it is recommended to indicate EditText or TextView textSize attribute in sp. The thing is that my requirements indicate me 40px, but nothing regarding sp.
So, how can I convert these px in order to set sp into my layout?
 
    