Is it possible to change the default allcaps setting for Android buttons (android:textAllCaps="false") in PhoneGap Build?
Here it is how is done in native Android apps: Why is my Button text forced to ALL CAPS on Lollipop?
Is it possible to change the default allcaps setting for Android buttons (android:textAllCaps="false") in PhoneGap Build?
Here it is how is done in native Android apps: Why is my Button text forced to ALL CAPS on Lollipop?
@besimple,
The question is a complete misunderstanding about how Cordova and Phonegap work. This is A PHONEGAP FAQ QUESTION.
To answer your question, the visual display (text, buttons, dialogs, etc.) is a subset of HTML. This means you write HTML5 and CSS3 to make your text appear on screen. You would not use an AndroidManifest.xml
directive.
To create your button, you could use a HTML tag like <div>
or <button>
. For the style needed to create allCAPS, this is done via CSS. This means, if you do NOT know CSS, this is the time to learn. (I believe smallCaps is an option, if not it can be imported)
Two (2) more notes, 1) you may need to import a complete font set to accomplish this task. 2) keep all your assets local; the best practice is not to load files from the internet. This include javascript, css, images and font sets.
Best of Luck.