In my xamarin forms project button text are always show in uppercase format.
But I am providing upper and lower case letters in xaml. When I build the solution all the letters are changed to uppercase.
@Sreeee said:
Solved by adding the following to your styles.xml file which can be found in the Android project under the Resources then values folders.
Answers
you should write to "Xamarin Forms" forum, not under "General"
is an iOS or Android problem?
Hi @AlessandroCaliaro Thanks for your suggestion when posting.
In android only I am facing this problem...
https://forums.xamarin.com/discussion/34817/button-on-android-all-caps
Hi @AlessandroCaliaro
When I add the code to cs file getting some errors.
It's for Android prj... you should use it in a customrenderer
Solved by adding the following to your styles.xml file which can be found in the Android project under the Resources then values folders.
Hi @AlessandroCaliaro Thanks for your attention....
This is the simplest solution and works like a charm. for more information on styles and android themes this is an excellent tutorial series https://medium.com/mindorks/mastering-android-themes-chapter-1-4aadfa750ca7
Agree
Works