It did for me as well. If you remove top though, it goes away. This is
a bug, albeit a lesser one than I thought at first as long as someone
knows the work around.
On Oct 8, 11:00 am, Studio LFP studio@gmail.com wrote:
I tested the following code:
EditText android:id=@+id/etMessage
Thanks for the heads up. You might want to see if this bug has been filed
at:
http://code.google.com/p/android/issues/list
If it hasn't, you may want to drop it in there so others can find the
workaround easier and the development team has a better spot to keep track
of it.
Steven
Studio LFP
I have tried it out on a 2.2 device (Samsung Galaxy) and using the 2.3
emulator. Same thing on both. What is odd though is that is shows up
in the preview just fine!
I know, you would think that there is something shifting it in the
code but the just isn't.
This is very frustrating.
On Oct 7,
There is definitely something wrong in the code.
The first time I tested was on a Samsung Galaxy Tab (2.2) and I just tested
it again on the Xperia Play (2.3.2) and it worked just fine.
If you want to post the XML that contains the layout, that would be helpful.
Steven
Studio LFP
FWIW: I just tried it on an HTC Incredible S (official firmware, 2.3.3)
and got the same result as the OP:
Setting android:gravity=right made android:hint disappear.
Previews as rendered by a special library, which, AFAIK, does not use
the same exact code as a real runtime (device or
I tested the following code:
EditText android:id=@+id/etMessage android:layout_width=fill_parent
android:layout_height=fill_parent android:layout_weight=1
android:hint=Compose text message... android:maxLines=3
android:capitalize=sentences android:autoText=true
I just tested this on an application I had in front of me and it worked
well.
Which version of Android are you testing on (and what hardware)? Are there
any other settings on the view that might be causing a conflict? Or maybe
there is another view overlapping that is causing an issue?
Steven
7 matches
Mail list logo