[mono-android] textview hints
John Valentine
john.valentine at fourmasters.eu
Wed Feb 22 08:36:40 UTC 2012
Thanks for the replies chaps.
the hint appears exactly as if you had defined some text to put in the box
.. that is, you have to delete it manually before you can enter anything. I
would have expected it to 'disappear' .. ie you would automatically
overtype it .. and it should also appear 'greyed' .. I do accept that this
may not be implemented on the emulator, but it is hard to see how I could
have coded it incorrectly, as it looks pretty obvious!
<EditText
android:layout_marginTop="50sp"
android:id="@+id/txbUser"
android:hint="User name"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
On 21 February 2012 18:37, Wally McClure <theevilprogrammer at hotmail.com>wrote:
> JohnV,
>
> Textual hints can be a little bit confusing. I find that the hint looks
> very similar to the text in the text view. Is it possible that the hint
> that is displayed looks almost exactly like the text input and its
> confusing?
>
> Wally
>
> > From: jonp at xamarin.com
> > Date: Tue, 21 Feb 2012 13:26:58 -0500
> > To: monodroid at lists.ximian.com
> > Subject: Re: [mono-android] textview hints
>
> >
> > On Feb 21, 2012, at 12:28 PM, John Valentine wrote:
> > > I am trying to use hints in the textview, but they appear as normal
> text .. is this just because they are not implemented on the emulator?
> >
> > How are you trying to use the hints?
> >
> > Thanks,
> > - Jon
> >
> > _______________________________________________
> > Monodroid mailing list
> > Monodroid at lists.ximian.com
> >
> > UNSUBSCRIBE INFORMATION:
> > http://lists.ximian.com/mailman/listinfo/monodroid
>
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120222/cff4f1ba/attachment.html>
More information about the Monodroid
mailing list