Android L -- EditText is broken -
just installed "l" on nexus 7, , installed app rather simple ui.
here looks on android l
here relevant portion of layout xml file.
<edittext android:id="@+id/remote_control_password" android:hint="enter password" android:text="" android:inputtype="textvisiblepassword" android:layout_width="match_parent" android:layout_height="wrap_content" android:password="true" android:textsize="18sp" android:layout_marginleft="10dp" android:layout_marginright="10dp" android:layout_margintop="5dp" android:layout_marginbottom="5dp" android:background="@drawable/rounded_button"/> <textview android:id="@+id/textview1" android:layout_width="match_parent" android:layout_height="wrap_content" android:text="minimum password length = 4" android:layout_marginleft="10dp" android:layout_marginright="10dp" android:textappearance="?android:attr/textappearancesmall" /> <edittext android:id="@+id/device_name" android:hint="phone name (optional)" android:text="" android:layout_width="match_parent" android:layout_height="wrap_content" android:textsize="18sp" android:layout_marginleft="10dp" android:layout_marginright="10dp" android:layout_margintop="5dp" android:layout_marginbottom="5dp" android:background="@drawable/rounded_button"/>
and background drawable
<?xml version="1.0" encoding="utf-8"?> <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> <solid android:color="#eaeaea"/> <corners android:bottomleftradius="4dp" android:toprightradius="4dp" android:topleftradius="4dp" android:bottomrightradius="4dp"/> <padding android:left="12dp" android:top="12dp" android:right="12dp" android:bottom="12dp"/> </shape>
what going wrong?
pvs
as workaround until android l gets fixed (hopefully) can try using
<corners android:radius="4dp" />
since corner radius same 4 corners. in quick tests problem seems relate using separate corner radius values. , applies view based classes tried.
also added report on https://code.google.com/p/android-developer-preview/issues/detail?id=177
Comments
Post a Comment