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 emulator) does.

-- Kostya

08.10.2011 19:20, Studio LFP ?????:
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
http://www.studio-lfp.com


On Saturday, October 8, 2011 10:11:33 AM UTC-5, darrinps wrote:

    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, 4:04 pm, Studio LFP <[email protected]> wrote:
    > 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
    > Studio LFPhttp://www.studio-lfp.com <http://www.studio-lfp.com>

--
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

--
Kostya Vasilyev

--
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