Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Css or Xaml Styling

$
0
0

Since I've started with Xamarin, I've always been using xaml for styling. I was wondering if I should give it a try to css styling. It's true that css looks much cleaner and readable, etc. But I have some questions before going for it:

  • How to specify custom fonts in css for xamarin forms? In the samples I couldn't find custom fonts.
  • How to set different values for each platform, just like OnPlatform in xaml?
  • How to specify a color palette and use it in my css styles?

I know those questions look basic, but I couldn't find good examples.
Would you rather css or xaml for styling?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>