First letter capitalization - Android

2 posts, 0 answers
  1. Gerrit
    Gerrit avatar
    33 posts
    Member since:
    Jul 2010

    Posted 02 Dec 2013 Link to this post

    Hi, 

    I need to make a textbox first letter always capital letter.
    I know I can do a "onkeypressed" or "onkeyup" but that makes the app slow, I was wondering if there was another way of doing it?

    I found this : http://stackoverflow.com/questions/4808705/first-letter-capitalization-for-edittext
    android:inputType="textCapSentences" : Is there a way to implement this on textboxes?

    Kind Regards
    Gerrit
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 02 Dec 2013 Link to this post

    Hi Gerrit,

    The link you've given is for native Android textbox, it would not have any effect on html 5 input. In general, such an attribute (autocapitalize) exists for inputs (see this page), but is not supported on most mobile platforms yet.

    Regards,
    Steve
    Telerik
    You've missed the Icenium Visual Studio Integration keynote? It has been recorded and posted here.
    Looking for tips & tricks directly from the Icenium team? Check out our blog!
    Share feedback and vote for features on our Feedback Portal.
Back to Top