I have an EditText with the lineSpacingExtra parameter equal to 8dp. When I open a page with this EditText and predefined text, line spacing works fine. But when on the same page I click on the end of the EditText and start typing, the line spacing seems to be ignored.
Is this a mistake or am I missing something?

Added code snippet. In my opinion, there is nothing special about this.
<EditText android:layout_width="match_parent" android:layout_height="match_parent" android:background="@android:color/transparent" android:padding="8dip" android:scrollbars="vertical" android:fadingEdge="vertical" android:gravity="top" android:lineSpacingExtra="8dip" android:lineSpacingMultiplier="2" android:textSize="18sp" android:capitalize="sentences" android:inputType="textCapSentences|textMultiLine" />
update: it looks like the error appeared with Android 5 Lollipop
android android-5.0-lollipop android-edittext line
khusrav
source share