Hello,

Disabled EditText fields (android:enabled="false") have a horizontal
line being drawn through them.

Created simple test app using standard Eclipse wizard, added EditText
for main.xml layout as follows:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">
 <TextView  android:layout_width="fill_parent"
android:layout_height="wrap_content" android:text="@string/hello" />
 <EditText android:id="@+id/edittest"
android:layout_width="fill_parent" android:layout_height="44dp"
android:enabled="false" />
</LinearLayout>

The field is grayed out, as expected, but also a horizontal line
through the middle, on Nexus One (2.2.2), Motorola Droid (2.2.1), but
NOT on Samsung Galaxy (2.1).

Help in understand where this is coming from would be much
appreciated.

Chris @ Vertifi

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to